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

Konrads Smelkovs konrads.smelkovs at gmail.com
Sat Sep 8 08:12:25 MDT 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: </pipermail/twisted-python/attachments/20070908/79403931/attachment.html>


More information about the Twisted-Python mailing list