[issue8006] os.popen in Python 3.1

Bob Buckley report at bugs.python.org
Sun Mar 21 23:25:37 CET 2010


Bob Buckley <bob at buckley.id.au> added the comment:

I could not get it to open a write pipe. I am trying to drive GNUplot 
from Python. It worked OK in Python 2.x but does not work well in 3.x.
I have it partially working now ... I am calling subprocess.Popen but I 
cannot get a text mode pipe which is disappointing. I have not yet got 
my head around Python 3's byte vs string stuff.

regards
Bob Buckley

On 21/03/2010 8:02 AM, R. David Murray wrote:
> R. David Murray<rdmurray at bitdance.com>  added the comment:
>
> Well, actually os.popen in Python3 is implemented by calling subprocess.Popen.
>
> So, Bob, how does it fail?
>
> ----------
> nosy: +r.david.murray
> priority:  ->  normal
> stage:  ->  test needed
>
> _______________________________________
> Python tracker<report at bugs.python.org>
> <http://bugs.python.org/issue8006>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8006>
_______________________________________


More information about the Python-bugs-list mailing list