{"record":{"id":"0c5f43388930250a","repo":"openai/codex","slug":"process-interrupt-is-not-supported-by-this-process","errorCode":null,"errorMessage":"process interrupt is not supported by this process backend","messagePattern":"process interrupt is not supported by this process backend","errorType":"exception","errorClass":"std::io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/utils/pty/src/process.rs","lineNumber":28,"sourceCode":"use anyhow::anyhow;\nuse portable_pty::MasterPty;\nuse portable_pty::PtySize;\nuse portable_pty::SlavePty;\nuse tokio::sync::broadcast;\nuse tokio::sync::mpsc;\nuse tokio::sync::oneshot;\nuse tokio::sync::watch;\nuse tokio::task::AbortHandle;\nuse tokio::task::JoinHandle;\n\n#[derive(Clone, Copy, Debug, PartialEq, Eq)]\npub enum ProcessSignal {\n    Interrupt,\n}\n\npub(crate) fn unsupported_signal(signal: ProcessSignal) -> io::Error {\n    match signal {\n        ProcessSignal::Interrupt => io::Error::new(\n            io::ErrorKind::Unsupported,\n            \"process interrupt is not supported by this process backend\",\n        ),\n    }\n}\n\npub(crate) fn exit_code_from_status(status: ExitStatus) -> i32 {\n    if let Some(code) = status.code() {\n        return code;\n    }\n\n    #[cfg(unix)]\n    {\n        use std::os::unix::process::ExitStatusExt;\n        if let Some(signal) = status.signal() {\n            return 128 + signal;\n        }\n    }","sourceCodeStart":10,"sourceCodeEnd":46,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/utils/pty/src/process.rs#L10-L46","documentation":"Error \"process interrupt is not supported by this process backend\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/utils/pty/src/process.rs:28 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}