instead of your unusual syntax, you can try to fork (anyway system does fork under the hood) so that you'll have back the PID?
You can also use Win32::Process to create and kill the subprocess.
As you just need to tail a file you can try other simpler ways: is File::Tail usable on Windows ? tail and grep for Windows
L*
In reply to Re: Killing subprocess in windows
by Discipulus
in thread Killing subprocess in windows
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |