Maybe a case of cracking a nut with a sledgehammer for this example, but it'd seem nice and clean, and to do what you need.use Proc::Background; my $proc = Proc::Background->new( $cmd ); $proc->wait; # wait for completion
Hope that helps ..
-- Foxcub
#include www.liquidfusion.org.uk
In reply to Re: how to detect background process completed or not
by Tanalis
in thread how to detect background process completed or not
by kamesh3183
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |