easyssh
easyssh copied to clipboard
Can not get the return value of the ssh.Run() command
When I use like outStr, err := ssh.Run(),whether execute Run() successfully or not, the value of err is always 0. How can I get the exact return value of the ssh.Run() command. Thank you!