MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / launch_editor

Function launch_editor

crates/openshell-cli/src/ssh.rs:1589–1595  ·  view source on GitHub ↗
(editor: Editor, host_alias: &str)

Source from the content-addressed store, hash-verified

1587}
1588
1589fn launch_editor(editor: Editor, host_alias: &str) -> Result<()> {
1590 launch_editor_command(
1591 editor.binary(),
1592 editor.label(),
1593 &Editor::remote_target(host_alias),
1594 )
1595}
1596
1597fn launch_editor_command(binary: &str, label: &str, remote_target: &str) -> Result<()> {
1598 let status = Command::new(binary)

Callers 1

sandbox_connect_editorFunction · 0.85

Calls 3

launch_editor_commandFunction · 0.85
binaryMethod · 0.80
labelMethod · 0.45

Tested by

no test coverage detected