|go ahead... be a heretic|
Re^2: Killing subprocess in windowsby LanX (Sage)
|on May 20, 2021 at 21:36 UTC||Need Help??|
> instead of your unusual syntax, you can try to fork
could you please show me how? From the docs:
fork() creates a new process by duplicating the calling process.
I don't wanna replicate the Perl script but spawn a PS window.
> tail and grep for Windows
does this offer the -f option? I don't think so.
> is File::Tail usable on Windows ?
File::Tail seems overkill, and like the title suggests there might be problems on Win
get-content -wait is a built-in in all modern Win versions
> You can also use Win32::Process to create and kill the subprocess.
That's a very good idea, thanks! :)