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

Function stop_child

e2e/rust/tests/user_namespaces.rs:78–81  ·  view source on GitHub ↗
(child: &mut Child)

Source from the content-addressed store, hash-verified

76}
77
78async fn stop_child(child: &mut Child) {
79 let _ = child.kill().await;
80 let _ = child.wait().await;
81}
82
83async fn wait_for_sandbox(name: &str, timeout_secs: u64) -> Result<(), String> {
84 let deadline = tokio::time::Instant::now() + Duration::from_secs(timeout_secs);

Calls 2

killMethod · 0.80
waitMethod · 0.80

Tested by

no test coverage detected