http://www.perlmonks.org?node_id=192450


in reply to Re: They didn't give me a fork so I have to eat with a spawn.
in thread They didn't give me a fork so I have to eat with a spawn.

Win32's Perl 5.6.1 does have an emulated fork(), though. Is there something wrong with that?

Yup.

If you try to fork and "spawn" off a bunch of system() calls, you get "Resource temporarily unavailable" after some fairly small number of forks (maybe 20?).

With Win32::Process::CreateProcess, you don't run into that problem.
--
Mike