Skip to content

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

@like-inspur

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!

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