Re: WaitFor fails while Prompt works - WeOnlyDo Discussion board

Re: WaitFor fails while Prompt works (General questions)

by novanstar, Monday, November 03, 2008, 23:21 (5863 days ago) @ wodDamir

Hi,

Honestly, I can't see a reason why the Prompt version would work, since it doesn't affect any of other methods that you used.

Please try the suggestions that I asked you to, and let me know if that helps?

Regards,
Damba

Hi, I have tried per suggestion. And it works. :) Thanks.
BTW, If I expect a command won't return back to command prompt (it need CTRL+C to return), what's the wodSSH API method combination I can use to receive the result after running the command, then based on the result to issue CTRL+C? (Send, WaitFor, and Send(^c)? )

Thanks,


Complete thread: