in reply to How to get the PID of an invoked process
use strict; use warnings; $SIG{CHLD} = '"IGNORE"'; my $child = fork(); if ($child) { print "I'm the parent, I think I'll wait for the child $child...\n +"; waitpid($child, 0); } else { exec ("ls"); }
Good Luck,
Ira.
"So... What do all these little arrows mean?"
~unknown
|
|---|