Hi all,

If from inside my twisted program I do...

commands.getstatusoutput('sudo blah blah')

...it works great. If instead I do...

utils.getProcessOutputAndValue('/usr/bin/sudo', path='/usr/bin',
args=('blah blah',))

...it gets stuck asking for the sudo password. I've tried a bunch of
variations in the latter call, like lumping the args into the executable
string, getting rid of "/usr/bin" in the executable, changing the path
to the executing user's home directory and so on. Any ideas?

Thanks!

Steve
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to