Avoid zombie processes with std.process

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 24 11:09:48 PDT 2016


On Wednesday, 24 August 2016 at 11:04:58 UTC, 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.

An async process is what you want.None of the D async frameworks 
implement this. They'are all focused on network, like if it's 
easyer to test /:

https://github.com/putaolabs/collie
https://github.com/dcarp/asynchronous
https://github.com/etcimon/libasync


More information about the Digitalmars-d mailing list