in reply to Re: How to call two programs simultaneously from a running program
in thread How to call two programs simultaneously from a running program
After forking, we still have to wait/waitpid for the child process to end in order to avoid zombies, unless we employ the double-fork technique.
Instead, try this: system "perl B.pl &"; system "perl C.pl &"
Reference: How do I start a process in the background?
Instead, try this: system "perl B.pl &"; system "perl C.pl &"
Reference: How do I start a process in the background?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to call two programs simultaneously from a running program
by GrandFather (Saint) on Aug 11, 2008 at 21:17 UTC |
In Section
Seekers of Perl Wisdom