Help for this page
open FILE, "<my command> 2>&1 1>/dev/null" or exec(); die $!;
sub sigtrap() { if(defined($pid) && ! ($pid == 0)){ ... sleep 15; #use the command's output file to get the results