sub RunChild { if (defined $proxy) { $ENV{http_proxy}="$proxy"; } $logFile = $logDir."/header_".$call; `curl -o /dev/null -m 222 \"$Link\" 2>> $logFile`; my $curlResult = `echo $?`; chomp($curlResult); if ($curlResult != 0) { exit($curlResult); } }
In reply to Re^4: Parallel::ForkManager run_on_finish Canot get Exit Code of Child process
by anshumangoyal
in thread Parallel::ForkManager run_on_finish Canot get Exit Code of Child process
by anshumangoyal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |