- or download this
system("perl script.pl >/dev/null &");
open(CMD, "|perl script.pl > /dev/null");
- or download this
system("while true; do echo boo; sleep 2; done &");
print "system done - exiting\n";
- or download this
open(CMD, "|while true; do echo boo; sleep 2; done");
print "open returned - exiting\n";