From 25fffd3528ea10358922da0e899cba7ef11d65bf Mon Sep 17 00:00:00 2001 From: Alex Plotnick Date: Sat, 15 Aug 2026 19:00:47 +0000 Subject: [PATCH] Restore build on macOS macOS has no realtime signals, so bound the signal reset at the classic 31 there. Co-Authored-By: Claude Mythos 5 --- server/src/executor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/executor.rs b/server/src/executor.rs index 309a48f..1fbf2da 100644 --- a/server/src/executor.rs +++ b/server/src/executor.rs @@ -301,6 +301,10 @@ async fn job_spawn( } // Reset signal dispositions and the signal mask. + // macOS has no realtime signals. + #[cfg(target_os = "macos")] + let max_signal = 31; + #[cfg(not(target_os = "macos"))] let max_signal = libc::SIGRTMAX(); unsafe { cmd.pre_exec(move || {