receive output - WeOnlyDo Discussion board

receive output (wodSSH / wodSSH.NET)

by Ganesh Sankpal, Tuesday, September 02, 2014, 14:38 (3735 days ago) @ wodSupport

Hello Kreso,

Thanks for the info. :-)
I am facing one more problem, using wodssh execute method when I execute a command, it takes around 5-7 minutes to get back with the response, I am waiting on the response of that command using Receive method in while loop (if I get a specific keyword, it should come out of the loop). But I am facing time out error.

Please help me on the following questions;
How can I wait for longer time and receive the result given by the command?
Can I use the combination of WaitFor and Receive method? If yes then how to implement it in a proper way?


Thanks & Regards,
Ganesh Sankpal


Complete thread: