[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, maybe, because in the other issue, it's about a race condition. similar. -- nosy: +matrixise ___ Python tracker

[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-06 Thread R. David Murray
R. David Murray added the comment: This looks like a duplicate of issue 24909? -- nosy: +r.david.murray ___ Python tracker ___

[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-06 Thread eryksun
Changes by eryksun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Windows: subprocess.Popen: race condition for leaking inheritable handles ___ Python tracker

[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I don't have the right to close it. can you close it ? Thanks -- ___ Python tracker ___

[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-06 Thread Jack O'Connor
Jack O'Connor added the comment: Definitely a duplicate, thanks for pointing me to the original. Should I mark it resolved, or let someone from the project do that? -- ___ Python tracker

[issue25565] subprocess.Popen creates inheritable file descriptors on Windows, can leak to other child processes

2015-11-05 Thread Jack O'Connor
New submission from Jack O'Connor: The Windows implementation of Popen calls _make_inheritable(), which creates inheritable copies of Popen's file descriptors. If two Popen calls happen at the same time on different threads, these descriptors can leak to both child processes. Here's a