PDA

View Full Version : sudo with pexpect



magisterludi
October 2nd, 2006, 05:17 PM
Hi, I'm trying to write a truecrypt wrapper with pexpect.

I have the problem that pexpect does not support sudo as command.
I need a method that checks if I need to enter the password or if
not. How was this implemented in the update-manager or other wrappers
writen in pygtk?