Re: [Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446)

2013年7月23日 16:23:58 -0700

On 23/07/2013 11:45pm, Victor Stinner wrote:
Said differently: the HANDLE_FLAG_INHERIT flag only has an effect on
*handles*, as indicated in its name. On Windows, file*descriptors*
are never inherited (are always closed) in child processes. I don't
think that it is possible to inherit file descriptors on Windows.
Actually, you can inherit fds if you use os.spawnv() instead of subprocess.Popen().
--
Richard
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to