@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";
In reply to Re^2: Spawned process exit status
by Anonymous Monk
in thread Spawned process exit status
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |