[Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()
sflist at ihonk.com
Tue Jul 7 17:18:17 EDT 2009
If from inside my twisted program I do...
commands.getstatusoutput('sudo blah blah')
...it works great. If instead I do...
...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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python