subprocess escaping POpen?!

Tim Golden mail at timgolden.me.uk
Thu Aug 5 10:55:25 EDT 2010


On 05/08/2010 15:49, Chris Withers wrote:
> Tim Golden wrote:
>>>> See http://pexpect.sf.net for a python version.
>>>
>>> ...which doesn't work on Windows.
>>
>> There is a winpexpect:
>>
>> http://pypi.python.org/pypi/winpexpect/1.3
>
> Are the two api-identical?

 From the bitbucket page:

  http://bitbucket.org/geertj/winpexpect/wiki/Home

"""
The API of winpexpect is identical to that of pexpect.
The only difference is that you must use the class "winspawn"
instead of "spawn"
"""

TJG



More information about the Python-list mailing list