lestrrat has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system() call failure
by clintp (Curate) on May 15, 2001 at 02:56 UTC | |
|
Re: system() call failure
by lestrrat (Deacon) on May 15, 2001 at 01:45 UTC | |
by lestrrat (Deacon) on May 15, 2001 at 03:11 UTC | |
by no_slogan (Deacon) on May 15, 2001 at 04:09 UTC | |
by lestrrat (Deacon) on May 15, 2001 at 21:10 UTC | |
by lestrrat (Deacon) on May 16, 2001 at 23:02 UTC |