On Mon, 02 Mar 2015 08:15:12 +0000, Kagamin wrote: > On Saturday, 28 February 2015 at 05:32:51 UTC, ketmar wrote: >> On Sat, 28 Feb 2015 06:09:16 +0100, Martin Nowak wrote: >> >>> Meanwhile the author of daemonized came up with another idea, using >>> exec instead of fork. https://github.com/NCrashed/daemonize/issues/2 >> >> ahem. http://forum.dlang.org/post/mc35ap$2dvo$5...@digitalmars.com > > Bug 6846 is supposedly caused by usage of GC. Can't recent spawnProcess > from phobos be used to start a process? It works around GC after fork > sufficiently enough.
it doesn't "workaround" in any way, it does exactly what it is supposed to do: it running *new* process. no workarounds needed for that, and it does no allocations in child process after forking point.
signature.asc
Description: PGP signature