The node you linked to doesn't properly handle fork failing. That is typical.
See my reply in this thread for a solution that does handle fork failing and for more information about how it still isn't as nice as system(1,...).
- tye
In reply to Re^2: Perl wait vs Unix ksh wait (oops)
by tye
in thread Perl wait vs Unix ksh wait
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |