Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
313
fn exit_code(status: ExitStatus) -> i32 {
314
use std::os::unix::process::ExitStatusExt;
315
status.into_raw()
316
}
317
318
#[cfg(not(unix))]
319
fn exit_code(status: ExitStatus) -> i32 {
Callers
1
start
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected