in reply to launch and then exit out of app
use Proc::Background; my $proc; my @commands=($cmd1,$cmd2); foreach my $foo (@commands) { $proc = Proc::Background->new($foo); }
(I have updated the code above to remove the wait call, note: Proc::Background has some very good features if you want to wait on a process or check whether processes are still running...those features are not required here)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: launch and then exit out of app
by gmpassos (Priest) on Feb 03, 2004 at 19:34 UTC |