[Twisted-Python] How to ... in Conch?
konrads.smelkovs at gmail.com
Sat Sep 8 10:12:25 EDT 2007
1) I want to invoke(exec) a command with arguments from a SSH Conch client.
The example suggests that arguments should be passed along with command, so
to invoke 'ls -l', one would pass common.NS('ls -l'). What to do about
arguments that have spaces? Should I slash-escape them?
2) How to obtain the retcode from an exec'ed command?
Applied IT sorcery.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python