in reply to How to portably stop processes?
See https://perldoc.perl.org/perlfork#kill()
There are various alternatives listed in perlipc though.
An SSCCE with tests might help provide alternatives.
> If I just use Win32::Process, then this would be a dependency also on Linux
I'm quite sure that you can have install dependencies based on the actual OS. Never tried this tho.
HTH. :)
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
---|