It's interesting that it worked on Linux but not Solaris. Must be some difference in the way they deliver signals.
Best solution is probably not to mix $SIG{CHLD} with system(). There are a couple of threads around here that might be useful... try a search or two.
In reply to Re: Re: Re: system() call failure
by no_slogan
in thread system() call failure
by lestrrat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |