Skip to main content

command

Function command 

Source
pub fn command(
    endpoint: &RemoteEndpoint,
    command: &RemoteCommand,
) -> Result<Command, RemoteCommandError>
Expand description

The ssh invocation for an owned stdio client — a language server. Relayed stdin, all three pipes piped, no spawn. The caller owns the local child (see the module docs for the lease and cancel story) and may parse the supervisor’s stderr records via command_supervised.