Message142483
| Author |
Ben.Wolfson |
| Recipients |
Ben.Wolfson, idank, neologix |
| Date |
2011年08月19日.18:14:13 |
| SpamBayes Score |
2.3773305e-08 |
| Marked as misclassified |
No |
| Message-id |
<1313777654.59.0.535553163654.issue12786@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
"The guys at #python-dev confirmed the same happens on 2.7 but not on 3.x."
Really? This is on gentoo, not debian, admittedly:
coelacanth ~ 11:12:36 $ python3
Python 3.1.3 (r313:86834, May 1 2011, 09:41:48)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> proc1 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
>>> proc2 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
>>> proc2.stdin.close()
>>> proc2.wait()
0
>>>
coelacanth ~ 11:12:13 $ python3.1
Python 3.1.3 (r313:86834, May 1 2011, 09:41:48)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> proc1 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
>>> proc2 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
>>> proc1.stdin.close()
>>> proc1.wait()
[hangs] |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年08月19日 18:14:14 | Ben.Wolfson | set | recipients:
+ Ben.Wolfson, neologix, idank |
| 2011年08月19日 18:14:14 | Ben.Wolfson | set | messageid: <1313777654.59.0.535553163654.issue12786@psf.upfronthosting.co.za> |
| 2011年08月19日 18:14:13 | Ben.Wolfson | link | issue12786 messages |
| 2011年08月19日 18:14:13 | Ben.Wolfson | create |
|