From 40bd102fd38a528923b372da10cb8c8608924f98 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Thu, 12 Dec 2024 16:26:21 -0700 Subject: [PATCH] Enable daemon(3) on Apple Note that while Apple considers this function to be deprecated, it hasn't provided any alternative. The suggested replacement, posix_spawn, can't be used to provide equivalent functionality. --- src/unistd.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unistd.rs b/src/unistd.rs index 1130318294..45a34b4383 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -1262,6 +1262,7 @@ pub fn execveat, SE: AsRef>( /// * `noclose = false`: The process' stdin, stdout, and stderr will point to /// `/dev/null` after daemonizing. #[cfg(any( + apple_targets, linux_android, freebsdlike, solarish, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy