in reply to Killing subprocess in windows

Hello LanX,

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


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.