[New-bugs-announce] [issue12877] Popen(...).stdout.seek(...) throws "Illegal seek"
Jonas H.
report at bugs.python.org
Thu Sep 1 15:38:33 CEST 2011
New submission from Jonas H. <jonas at lophus.org>:
from subprocess import Popen, PIPE
p = Popen(['ls'], stdout=PIPE)
p.wait()
p.stdout.seek(0)
Traceback (most recent call last):
File "t.py", line 5, in <module>
p.stdout.seek(0)
IOError: [Errno 29] Illegal seek
Python 2.7.2, Arch Linux x86-64 (Kernel 3.0)
----------
messages: 143323
nosy: jonash
priority: normal
severity: normal
status: open
title: Popen(...).stdout.seek(...) throws "Illegal seek"
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12877>
_______________________________________
More information about the New-bugs-announce
mailing list