Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Example
unless (defined($child_pid=fork())) {die "Can not fork.\n"}; if ($child_pid) { # parent system "$app1" || die "Could not launch target\n"; exit; } else { # child system "$app2" || die "Could not launch target\n"; exit; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: launch and then exit out of app
by Zaxo (Archbishop) on Feb 03, 2004 at 16:41 UTC | |
|
Re: launch and then exit out of app
by blue_cowdawg (Monsignor) on Feb 03, 2004 at 16:55 UTC | |
by Anonymous Monk on Feb 03, 2004 at 19:24 UTC | |
by blue_cowdawg (Monsignor) on Feb 03, 2004 at 19:32 UTC | |
by flyingmoose (Priest) on Feb 03, 2004 at 19:51 UTC | |
by eyepopslikeamosquito (Archbishop) on Feb 04, 2004 at 01:52 UTC | |
|
Re: launch and then exit out of app
by flyingmoose (Priest) on Feb 03, 2004 at 18:58 UTC | |
by gmpassos (Priest) on Feb 03, 2004 at 19:34 UTC |