Cheers# Fork new process $pid = ''; if( $pid = fork() ) { # Parent proc } elsif( !defined $pid ) { exit_with_error("Can't fork: $!"); } # ... else we are the child, call exec.
In reply to Re: Keeping a program running
by chrism01
in thread Keeping a program running
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |