subprocess escaping POpen?!

Chris Withers chris at simplistix.co.uk
Thu Aug 5 16:38:27 CEST 2010


Kushal Kumaran wrote:
> 
> ----- Original message -----
>  > Wolfgang Rohdewald wrote:
>  > > On Donnerstag 05 August 2010, Chris Withers wrote:
>  > > > But why only the request for auth credentials?
>  > >
>  > > for security reasons I suppose - make sure a human enters
>  > > the password
>  >
>  > Well yes, but what if you actually want to script it?
>  >
> 
> Then you use expect.
> 
> See http://pexpect.sf.net for a python version.

...which doesn't work on Windows.

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk



More information about the Python-list mailing list