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

Method success

crates/openshell-supervisor-process/src/process.rs:1391–1393  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1389 /// Check if the process exited successfully.
1390 #[must_use]
1391 pub fn success(&self) -> bool {
1392 self.code == Some(0)
1393 }
1394
1395 /// Get the signal that killed the process, if any.
1396 #[must_use]

Callers 15

resolve_ssh_hostnameFunction · 0.45
handle_shell_connectFunction · 0.45
handle_exec_commandFunction · 0.45
start_port_forwardsFunction · 0.45
exec_or_waitFunction · 0.45
sandbox_forwardFunction · 0.45
ssh_tar_uploadFunction · 0.45
ssh_run_capture_stdoutFunction · 0.45
stream_sandbox_tarFunction · 0.45
doctor_checkFunction · 0.45
git_repo_rootFunction · 0.45
git_sync_filesFunction · 0.45

Calls

no outgoing calls

Tested by 12

wait_for_process_exitFunction · 0.36
run_cliFunction · 0.36
run_cliFunction · 0.36
run_cliFunction · 0.36
run_engineFunction · 0.36
gateway_smokeFunction · 0.36
run_cliFunction · 0.36
provider_existsFunction · 0.36
sandbox_container_idFunction · 0.36
kubectlFunction · 0.36
provider_existsFunction · 0.36