Win XP: Problem with shell scripting in Python
John Machin
sjmachin at lexicon.net
Thu Jun 8 21:10:10 EDT 2006
On 9/06/2006 10:47 AM, John Machin wrote:
> Now it's *your* turn to do something for the cause. It appears to me
> that popen4 has exactly the same documentation as popen3, as recently as
> 2.5a2. I see no fourth gizmoid here.
>
> Whoooaaah! "4" is not a gizmoid count:
>
> |>>> handles = os.popen4('MD :')
> |>>> handles
> (<open file 'MD :', mode 'w' at 0x00AAF698>, <open file 'MD :', mode 'r'
> at 0x00
> AAF4E8>)
>
> You might like to suss this out, and raise a request to have the docs
> fixed.
OK, OK, alright already. I didn't read the docs closely enough. Forget
the doc-fix request. It looks like it will pay you to investigate popen4
a bit further :-)
Cheers,
More information about the Python-list
mailing list