On Tuesday 07 July 2009, Steve Freitas wrote:
> 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',))
Did you try "args=('blah', 'blah')"?
Unlike when using the full command line, spaces in arguments are most likely
preserved instead of acting as separators.
Bye,
Maarten
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python