in reply to Calling a Program from a Program
I don't see the need for two programs from what you show, but assuming your design is correct fork will let you exec B
That is enough if you are certain that B will run longer than the remainder of A. Otherwise you must prevent B from going zombie.defined( my $foo = fork) or die $!; $foo or exec '/path/to/B', @parms;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Calling a Program from a Program
by Lost_ego (Novice) on Jun 17, 2003 at 17:35 UTC | |
by Zaxo (Archbishop) on Jun 17, 2003 at 17:44 UTC |