Realtime output - WeOnlyDo Discussion board

Realtime output (General questions)

by Matt, Wednesday, February 01, 2006, 18:34 (6869 days ago)

Hi,

How can I see the response from the server in realtime when I execute commands?

If I use something like putty, when I run a script on the server, the output is presented to the screen as it happens.
Using wodSSH (in blocking mode), I only see the output when the command prompt has returned.

I assume I need to take it out of blocking mode but all the posts I have see here advise it in blocking mode. I need some examples to try.

Thanks

Re: Realtime output

by wodSupport, Wednesday, February 01, 2006, 18:40 (6869 days ago) @ Matt

Matt,

nope, I would advise *against* blocking since you have much much much better control over the execution.

So, yes, you're right, when Received event is fired, call Receive method and dump the output.

To be honest, I don't understand how can it NOT BE realtime? It must be, it always is, when we receive data, we fire the event and pass data to you.

Kreso