[Issue 17479] Public constructor for std.process.Pid

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 11 13:11:45 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17479

--- Comment #3 from Chris Wright <dhasenan at gmail.com> ---
You can wait for a process that you called ptrace for:

PTRACE_O_TRACEEXIT (since Linux 2.5.60)
    Stop the tracee at exit.  A waitpid(2) by the tracer will return a status
value such that...

On the other hand, it might be simpler to just use pids for everything.

--


More information about the Digitalmars-d-bugs mailing list