#!/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); }
In reply to Re: fork question
by zentara
in thread fork question
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |