RunSshCommandResult
Defined in: src/protocols/ssh/runSshCommand.ts:55
Result of runSshCommand. The full captured stdout is provided as
both a Buffer (for binary output) and as a UTF-8 decoded string.
Note: stderr (CHANNEL_EXTENDED_DATA) and exit-status are not currently surfaced - drop down to SshConnectionManager/SshSessionChannel directly if you need them.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
bytesReceived | number | Bytes received before the channel closed. | src/protocols/ssh/runSshCommand.ts:61 |
stdout | Buffer | Captured stdout as raw bytes. | src/protocols/ssh/runSshCommand.ts:57 |
stdoutText | string | Captured stdout decoded as UTF-8. | src/protocols/ssh/runSshCommand.ts:59 |