Message206272
The subprocess documentation for stdout/stderr/stdin states:
"Valid values are PIPE, an existing file descriptor (a positive integer), an existing file object, and None. PIPE indicates that a new pipe to the child should be created."
However, file-like objects such as StringIO are not valid if they do not implement fileno(). The documentation should be more explicit that the file object should be backed by an actual file descriptor (and therefore has a fileno() function). |
|
Date |
User |
Action |
Args |
2013-12-16 01:52:40 | Thayne.McCombs | set | recipients:
+ Thayne.McCombs, docs@python |
2013-12-16 01:52:40 | Thayne.McCombs | set | messageid: <1387158760.79.0.499761911724.issue19992@psf.upfronthosting.co.za> |
2013-12-16 01:52:40 | Thayne.McCombs | link | issue19992 messages |
2013-12-16 01:52:40 | Thayne.McCombs | create | |
|