[Twisted-Python] How to ... in Conch?

Konrads Smelkovs 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?

Konrads Smelkovs
Applied IT sorcery.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20070908/79403931/attachment.htm 

More information about the Twisted-Python mailing list