in reply to How to portably stop processes?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to portably stop processes?
by haj (Vicar) on Mar 31, 2023 at 18:54 UTC | |
by LanX (Saint) on Mar 31, 2023 at 22:13 UTC |