$ pm_child_execs.pl
in test2
Can't exec "1": No such file or directory at ./pm_child_execs.pl line 13.
in test1
Can't exec "1": No such file or directory at ./pm_child_execs.pl line 13.
in test2
Can't exec "1": No such file or directory at ./pm_child_execs.pl line 13.
####
exec $cmd->();
##
##
#exec $cmd->();
$cmd->();
last;
##
##
$ pm_child_execs.pl
in test2
in test1