Background Processes |
You can run a command in the background with:
system("cmd &");
The command's STDOUT and STDERR (and possibly STDIN, depending on your shell) will be the same as the parent's. You won't need to catch SIGCHLD because of the double-fork taking place (see below for more details).
Forward to Complete Dissociation of Child from Parent in the perlipc manpage
Up to the perlipc manpage
Background Processes |