Fwiw, self daemonizing code is finally being accepted as an antipattern. If possible, you should avoid doing it and let an init system take care of it for you.
That being said, I'm completely useless in answering your question, sorry.
--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Your first example prints everything to stdout.
Your second example loses everything to /dev/null.
--
But is the use of blocking functions intentional?
Are you saying that's the key to making my original request work?
--