subprocess.Popen inheriting

Aaron Brady castironpi at gmail.com
Tue Dec 16 04:29:19 EST 2008


Hi,

I have a file handle I want to inherit in a child process.  I am
looking at '_make_inheritable' in 'Popen', but it needs an instance,
and by the time I have one, the subprocess is already running.

Can't I call 'Popen._make_inheritable( None, handle )'?  The method
does not use 'self'.



More information about the Python-list mailing list