fork/exec & close file descriptors

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue May 19 21:10:36 EDT 2015


> On Tue, May 19, 2015 at 8:54 AM, Chris Angelico <rosuav at gmail.com 
> <mailto:rosuav at gmail.com>> wrote:
> 
>     On Linux (and possibly some other Unixes), /proc/self/fd may be of
>     use.

On MacOSX, /dev/fd seems to be the equivalent of this.

-- 
Greg



More information about the Python-list mailing list