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

Function openshell_cmd

e2e/rust/src/harness/binary.rs:46–50  ·  view source on GitHub ↗

Create a [`tokio::process::Command`] pre-configured to invoke the `openshell` CLI. The command has `kill_on_drop(true)` set so that background child processes are cleaned up when the handle is dropped.

()

Source from the content-addressed store, hash-verified

44/// The command has `kill_on_drop(true)` set so that background child processes
45/// are cleaned up when the handle is dropped.
46pub fn openshell_cmd() -> tokio::process::Command {
47 let mut cmd = tokio::process::Command::new(openshell_bin());
48 cmd.kill_on_drop(true);
49 cmd
50}
51
52fn shell_escape(arg: &str) -> String {
53 if arg

Callers 15

createMethod · 0.85
create_keepMethod · 0.85
create_with_uploadsMethod · 0.85
uploadMethod · 0.85
upload_with_gitignoreMethod · 0.85
execMethod · 0.85
downloadMethod · 0.85
spawn_forwardMethod · 0.85
cleanupMethod · 0.85
dropMethod · 0.85
run_cliFunction · 0.85

Calls 1

openshell_binFunction · 0.85

Tested by 15

sandbox_list_namesFunction · 0.68
delete_sandboxFunction · 0.68
run_cliFunction · 0.68
run_cli_with_configFunction · 0.68
run_cliFunction · 0.68
run_cliFunction · 0.68
run_isolatedFunction · 0.68
run_with_configFunction · 0.68
run_cliFunction · 0.68
delete_providerFunction · 0.68
gateway_smokeFunction · 0.68
assert_vm_overlay_rootFunction · 0.68