in reply to fork question

Proc::Background ?
#!/usr/bin/perl # Proc::Background is much more readable than fork and exec. # Plus, it works on Windows too -- fork tends not to work well there. use Proc::Background; my $proc; my @commands=($cmd1,$cmd2); foreach my $foo (@commands) { $proc = Proc::Background->new($foo); }

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: fork question
by jonnyfolk (Vicar) on Aug 08, 2011 at 15:23 UTC
    Thank you - this looks promising. I shall investigate!