![]() |
|
XP is just a number | |
PerlMonks |
Re: How to portably stop processes?by NERDVANA (Deacon) |
on Mar 31, 2023 at 17:13 UTC ( #11151385=note: print w/replies, xml ) | Need Help?? |
Actually fork and exec don't "work fine" on Windows :-( They're cheap approximations that have all sorts of bad consequences for programs written in a Unix mindset. You can read about it on Proc::Background::Win32 That module is also my recommendation for how to handle your problem. (disclaimer: I'm the maintainer) (and bah, there's a POD bug on that page. I'll get that fixed...) Oh, but if you use cygwin perl, fork and exec work fine and do create new processes.
In Section
Seekers of Perl Wisdom
|
|