Help for this page
die "Can't fork: $!" unless defined $pid = open(KID, "-|"); if ($pid) { # parent ... exec 'myprog', 'arg1', 'arg2' or die "can't exec myprog: $!"; }
Shell Script: ... echo "Exit"
... ... ... exec 'unixscript.sh', $dir, $exe ... ...