Cmd output and status in one call on Windows

Noah noah at noah.org
Wed Jun 18 15:27:46 EDT 2003


rshaw2 at midsouth.rr.com (Richard) wrote in message news:<84e0f331.0306170541.45015058 at posting.google.com>...
> "Justin Johnson" <justinjohnson at fastmail.fm> wrote in message news:<mailman.1055786077.30359.python-list at python.org>...
> > Hi,
> > 
> > ... Is there a way to get this info on Windows?
> > 
> > Thanks.
> > -Justin
> 
> I'm not sure about the return status (errorlevel in windows). But
> "pexpect" would work for your situation. It's mainly used for
> ...

Alas, Pexpect is for UNIX; although, it works under Cygwin.

Yours,
Noah




More information about the Python-list mailing list