in reply to Killing subprocess in windows
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*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Killing subprocess in windows
by LanX (Saint) on May 20, 2021 at 21:36 UTC | |
by eyepopslikeamosquito (Archbishop) on May 20, 2021 at 23:35 UTC | |
by karlgoethebier (Abbot) on May 21, 2021 at 11:20 UTC | |
by LanX (Saint) on May 20, 2021 at 23:50 UTC | |
by Discipulus (Canon) on May 21, 2021 at 07:04 UTC | |
by LanX (Saint) on May 21, 2021 at 10:50 UTC |