MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / exit_code

Function exit_code

supervisor/src/process.rs:313–316  ·  view source on GitHub ↗
(status: ExitStatus)

Source from the content-addressed store, hash-verified

311
312#[cfg(unix)]
313fn exit_code(status: ExitStatus) -> i32 {
314 use std::os::unix::process::ExitStatusExt;
315 status.into_raw()
316}
317
318#[cfg(not(unix))]
319fn exit_code(status: ExitStatus) -> i32 {

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected