Re: OpenVMS no prompt returning in output (General questions)
Hi,
Why don't you catch prompt and output using WaitFor Method?
Something like this without using loop:
[code]_sshConnection.Send( show queue /BRIEF & vbCrLf)
Debug.Print _sshConnection.WaitFor( $ )[/code]
or this:
[code]_sshConnection.Send( show queue /BRIEF & vbCrLf)
Debug.Print _sshConnection.WaitFor( regex:[\$ #>] $ )[/code]
More help for Waitfor Method you can find here:
http://www.weonlydo.com/SSH.NET/Help/WeOnlyDo.Client.SSH.WaitFor_overload_2.html
Let us know how it goes.
Regards,
Drazen
Complete thread:
- OpenVMS no prompt returning in output - mmorton, 2010-01-13, 12:47
- Re: OpenVMS no prompt returning in output - woddrazen, 2010-01-13, 13:51