Message91118
The subprocess module may suffer from a minor design flaw that is
described at http://unixwiz.net/techtips/remap-pipe-fds.html under the
heading "Descriptor Debacle". The problem can occur under rare
conditions when a subprocess is created from a Python daemon process.
Proposed solution:
Create a function os.duprange(*args) that takes one or more tuple pairs
of file descriptors. The function takes care of the necessary order and
dubbing of fds. |
|
Date |
User |
Action |
Args |
2009-07-31 00:27:04 | christian.heimes | set | recipients:
+ christian.heimes |
2009-07-31 00:27:04 | christian.heimes | set | messageid: <1249000024.51.0.280381658662.issue6610@psf.upfronthosting.co.za> |
2009-07-31 00:27:03 | christian.heimes | link | issue6610 messages |
2009-07-31 00:27:02 | christian.heimes | create | |
|