Next | Trivial Utilities | 162 |
For completeness, here's [[spawn], which is totally routine:
sub spawn { my $pid = fork; die "fork: $!" unless defined $pid; return $pid if $pid; warn "@_\n" if $opt{v}; exec @_; die "exec: $!"; }
I probably use runN every day
Next | Menu | Copyright © 2012 M. J. Dominus |