I would recommend using io::process with the detach option set to true
rather than invoking fork(). The green runtime is not fork-safe, and
at this time we're not guaranteeing that the native runtime is
fork-safe.

On Mon, Mar 17, 2014 at 4:59 AM, John Mija <[email protected]> wrote:
> Is possible to fork/daemonize in Rust? Without problems due to the
> interaction between fork(2) and threads.
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to