MCPcopy Create free account
hub / github.com/apache/skywalking-php / kill_command

Function kill_command

tests/common/mod.rs:381–388  ·  view source on GitHub ↗
(mut child: Child)

Source from the content-addressed store, hash-verified

379}
380
381async fn kill_command(mut child: Child) -> io::Result<ExitStatus> {
382 if let Some(id) = child.id() {
383 unsafe {
384 kill(id as pid_t, SIGTERM);
385 }
386 }
387 child.wait().await
388}

Callers 1

teardownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected