Skip to content

Can not get the return value of the ssh.Run() command #19

Description

@like-inspur

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions