Avoid zombie processes with std.process

FreeSlave via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 25 01:42:00 PDT 2016


On Wednesday, 24 August 2016 at 15:48:24 UTC, eugene wrote:
> 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.
>
> could you give some use-cases and list drawbacks of that 
> addition?

Use case: e.g. launch application from file manager. File manager 
may not care about waiting for applications to exit.

Drawbacks: why there should be one?


More information about the Digitalmars-d mailing list