Just another Perl shrine | |
PerlMonks |
Re: How to run the child process parellel to the parent process with forkby nagalenoj (Friar) |
on Mar 15, 2013 at 11:37 UTC ( [id://1023672]=note: print w/replies, xml ) | Need Help?? |
Hi,
When a process is forked, new process(child) and the existing process(parent) both run simultaneously. It is not like one after another. It is not like, what you said("but from the code shown parent is executed first and then child.") Can you tell what is the output and your expected output?
In Section
Seekers of Perl Wisdom
|
|