A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-July/127510.html below:

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

[Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446) [Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446)Richard Oudkerk shibturn at gmail.com
Wed Jul 24 01:21:18 CEST 2013
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4