in reply to Re^2: exec with cleanup
in thread exec with cleanup

You can do system("perl script2.pl arg1 arg2 &"), which will return immediately. And system("nohup perl scrip2.pl arg1 arg2 &") won't die when the parent process exits.