Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corrode/write-yourself-a-shell
/ wait
Method
wait
tests/all/utils.rs:70–77 ·
view source on GitHub ↗
(&self, mut child: Child)
Source
from the content-addressed store, hash-verified
68
}
69
70
fn wait(&self, mut child: Child) -> Output {
71
if let Some(duration) = self.kill_after {
72
std::thread::sleep(duration);
73
child.kill().unwrap();
74
}
75
76
child.wait_with_output().unwrap()
77
}
78
}
Callers
2
run
Method · 0.80
run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected