SandboxCommandHandle is a handle to a running sandbox command.
type SandboxCommandHandle structNext returns the next stdout/stderr chunk.
Result waits for the command to exit and returns its final result.
Err returns the terminal stream error, if any.
Done is closed when the command stream exits or fails.
Close closes the command stream connection.
LastStdoutOffset returns the last known stdout byte offset.
LastStderrOffset returns the last known stderr byte offset.
SendInput writes data to the running command's stdin.
Resize updates the command PTY size.
SendSSHAgentData sends SSH agent response bytes for a forwarded channel.
CloseSSHAgentChannel tells the sandbox that a forwarded SSH agent channel is closed.
Kill sends a kill request for the running command.
Reconnect opens a new stream for this command from the last known offsets.