# we're in the "main program"... my $child = fork(); die "fork failed: $!" unless ( defined( $child )); if ( $child == 0 ) { # the child process does this: exec( 'other_program', @args ); } # the parent now goes on to do whatever follows, while the child is ru +nning...
In reply to Re^3: Forking seperate processes?
by graff
in thread Forking seperate processes?
by halfthelaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |