Message387748
This problem can be addressed most easily in _get_handles() by combining the case of an invalid standard handle with that of a NULL standard handle, for which a file handle is validated via GetFileType(). However, that leaves a small window for the handle to become invalid before duplicating it. Instead, _get_handles() could deal with a failed _make_inheritable() call by substituting a pipe handle. |
|
Date |
User |
Action |
Args |
2021-02-26 21:17:25 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, r.david.murray, docs@python, zach.ware, steve.dower, Steve Barnes |
2021-02-26 21:17:25 | eryksun | set | messageid: <1614374245.09.0.610173472852.issue29829@roundup.psfhosted.org> |
2021-02-26 21:17:25 | eryksun | link | issue29829 messages |
2021-02-26 21:17:25 | eryksun | create | |
|