in reply to Parent process does not wait for Child processes to finish and exits after the waitpid statement
- You're using Win32::Process so you're probably running this on Windows. I have my doubts if using a Unix mechanism on Windows is the best way to do it, or even if it'll work well.
- Actually, fork on Windows doesn't start a new program. It starts a new thread.
- Next, you're calling exec in the child
processthread. exec doesn't return. - What does running an LWP request have to do with anything? OK, I'm officially confused now.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Parent process does not wait for Child processes to finish and exits after the waitpid statement
by scriptstudent (Initiate) on Feb 07, 2012 at 15:42 UTC |
In Section
Seekers of Perl Wisdom