[Twisted-Python] [twisted-conch] Using flow package to control workflow

mkimpenhaus at plus.de mkimpenhaus at plus.de
Tue Aug 19 06:20:01 MDT 2003


Hi @all,

I am very sorry, but again I need some advice using the conch package, 
better in this case using the flow package together with conch.

Problem is -> I am using conch to connect per ssh to an server -> execute 
some scripts on the ssh-server -> got the callback and process the result.
For now this is working fine, but there's the problem when triggering the 
connection this method is used to give an resultset. Therefore I thought 
to use the flow package to block the triggering method until the result 
comes.

First, is this attempt ok ? Is it possible to use flow to synchronize that 
async thingie??
Next, what should I use -> I tried to use flow.Block() but now the whole 
script seem to hang?

I would like to give an example but this would go beyond the scope...

Any help is very appreciated.

Best regards and respect,
Marcus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20030819/4601316e/attachment.html>


More information about the Twisted-Python mailing list