RE: nice, perl, fork and exec

2002-03-19 Thread Richard Smith
In *nix, he child process inherits the nice value of the parent process, and, unless the process owner is the super-user, the child process cannot be given a higher priority. This would also apply to calls to system() and backticks, since they all basically use the same mechanism. It also ap

RE: nice, perl, fork and exec

2002-03-19 Thread Nikola Janceski
2002 1:28 PM > To: [EMAIL PROTECTED] > Subject: Re: nice, perl, fork and exec > > > > If I run a perl script with nice, (in Unix > > it reprioritizes the process), and fork in > > perl and run an exec "command" with the > > child, does the nice prior

nice, perl, fork and exec

2002-03-19 Thread Nikola Janceski
I know this is going to sound like a Unix question, but... If I run a perl script with nice, (in Unix it reprioritizes the process), and fork in perl and run an exec "command" with the child, does the nice priority apply to the child process also? and what about the exec of the child process does