On 24/08/16 14:04, FreeSlave wrote:
Are there plans on adding something like spawnProcessDetached that would
start processes completely independent from parent? I.e. in other
process group and, what is important, with no need for wait.

On Posix that could be done via double fork technique. Not sure about
Windows.

Double fork on Posix is, usually, used for something slightly different. In particular, since you bring up the process group, I think you mean daemonization.

Daemonization, however, does a bit more than create a new process group and double forking.

http://forum.dlang.org/thread/[email protected] has discussion and some code regarding this issue.

Shachar

Reply via email to