So I followed the example using CreateShellStream from here:
http://sshnet.codeplex.com/discussions/439210
The problem is that it's based on stream.Length == 0 to determine that the command has completed, but in my case it's not. Is there a better way to detect that it's actually completed?
http://sshnet.codeplex.com/discussions/439210
The problem is that it's based on stream.Length == 0 to determine that the command has completed, but in my case it's not. Is there a better way to detect that it's actually completed?