[Tutor] subprocess and su

Tino Dai tinoloc at gmail.com
Tue Aug 21 22:53:09 CEST 2007

Hi there,

     I'm have a tough time figuring out how to get su and subprocess
working. I have



how I thought that it was supposed to work was it would allow me to use
sbp.communicate() to
send stuff to the stdin, and get information out. What do get is a prompt
ask for my password. Does
anybody have an example that I can see (I have already check most of the
entries in google( or should
I just use pexpect instead?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070821/e6c603b4/attachment.htm 

More information about the Tutor mailing list