go ahead... be a heretic | |
PerlMonks |
Re^3: Executing a process in the background AND getting its pidby Zaxo (Archbishop) |
on Jun 12, 2007 at 07:32 UTC ( [id://620655]=note: print w/replies, xml ) | Need Help?? |
With exec, the new non-perl program simply takes over the calling process and runs under its pid. If the new program forks again, you could get trouble, but that's the new program's responsibility. You need to know its behavior to use it effectively. After Compline,
In Section
Seekers of Perl Wisdom
|
|