I'm connecting to an embedded unix target running BusyBox.
If I just start a Rebex.TerminalEmulation.SshTerminalControl, and issue the following command I get:
$ userlevel
3
OK
$
'3' is the response and the 'OK' is the standard error after it has completed. If I do the same thing programatically through a Rebex.TerminalEmulation.Shell.SendCommand, and then follow it with a ReadAll, I get:
"OK\n3\n"
This is not correct. I want it to respond
"3\nOK\n"
How can I prevent the standard error from returning first?