Mail Archives: cygwin-developers/1998/05/26/17:15:29
From: newsham AT lava DOT net (Tim Newsham)
Date: Tue, 26 May 1998 13:16:34 -1000 (HST)
> close_on_exec is only called for P_OVERLAY spawn, i.e. exec().
> Whether this is correct or not is debatable, I think.
Ok, I'll start the debate :)
- If I set close-on-exec flag on a descriptor, that descriptor
should not be open in any other (non-fork'ed) processes
created by the program.
I agree that if you set close-on-exec, the descriptor should not be
open in a process created using spawn.
Ian
- Raw text -