I'm encountering a situation where any call to system fails with $! being set to "No child processes" on a Solaris box. It seems to work fine on Linux...
The interesting thing about this is I can still fork() and exec(). I just can't call system().
the process that calls system() is forked off from a daemon process, which changes uid at run time to a normal user by switching $< and $> to that of the target user. Also, I call setpgrp( 0, $$ ) at the point in which I fork off the child process
Can anybody give me any pointers?
In reply to system() call failure by lestrrat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |