Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Missing support for returning shell stdout? #33

@jackmellis4

Description

@jackmellis4

I may be missing how this is accomplished, but it seems like you should be able to return the stdout result from the executeCommand.

Example:
...
let result=await ssh.executeCommand('uptime')
console.log(result)

16:04:14 up 1079 days, 18:31, 1 user, load average: 0.00, 0.00, 0.00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions