subprocess.Popen inheriting

Aaron Brady castironpi at gmail.com
Tue Dec 16 10:29:19 CET 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