in reply to Re: Spawned process exit status
in thread Spawned process exit status
@args = ("/test/conf.pl", $cfg_test, $cfg_stat ); system(@args) == 0 or die "system @args failed: $?"; $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $? & 128; print "EXIT VALUE = $exit_value\n"; print "SIGNAL = $signal_num\n"; print "CORE = $dumped_core\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Spawned process exit status
by waswas-fng (Curate) on Jun 23, 2005 at 16:16 UTC |