subprocess escaping POpen?!

Kushal Kumaran kushal.kumaran at gmail.com
Thu Aug 5 09:47:32 EDT 2010


----- 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.

-- 
regards,
kushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100805/4fe4298d/attachment.html>


More information about the Python-list mailing list