diff --git a/src/process.rs b/src/process.rs index f76dad7..b1a3ae0 100644 --- a/src/process.rs +++ b/src/process.rs @@ -32,7 +32,7 @@ pub async fn spawn(mut command: Command) -> Option { .stderr(Stdio::null()); // Handle Linux - #[cfg(target_os = "linux")] + #[cfg(all(unix, not(target_os = "macos")))] let Ok((read, write)) = rustix::pipe::pipe_with(rustix::pipe::PipeFlags::CLOEXEC) else { return None; };