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

Function terminate_owned_forward_child

crates/openshell-cli/src/ssh.rs:493–495  ·  view source on GitHub ↗

Best-effort cleanup for the SSH child this process spawned.

(child: &mut Child)

Source from the content-addressed store, hash-verified

491
492/// Best-effort cleanup for the SSH child this process spawned.
493fn terminate_owned_forward_child(child: &mut Child) {
494 let _ = child.start_kill();
495}
496
497/// Track a verified background forward, cleaning it up if PID-file persistence fails.
498fn track_background_forward_or_cleanup(

Callers 1

sandbox_forwardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected