Retrieve Exit Code from Session.ExecuteCommand
I'm using ExecuteCommand on the Session class to call a command remotely however I cannot get at the exit code?
CommandExecutionResult result = session.ExecuteCommand(command.Executable + " " + command.Arguments);
Will throw a SessionRemoteException if the command fails but there's no way to know what the exit code is?
Thanks
Colin
CommandExecutionResult result = session.ExecuteCommand(command.Executable + " " + command.Arguments);
Will throw a SessionRemoteException if the command fails but there's no way to know what the exit code is?
Thanks
Colin