[Issue 16615] New: std.process is missing functionality for child processes
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Oct 15 02:00:08 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16615
Issue ID: 16615
Summary: std.process is missing functionality for child
processes
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: andre at s-e-a-p.de
std.process has no functionality to get the Pids of child processes. This is
for example an issue if you want to use function kill to kill a process tree.
Of course you can use system specific functionality to retrieve the processIDs
of the child processes, but then again you have the issue there is no function
to convert a processID to a Pid, as kill expects a pid.
I would be if a function is included in std.process to kill a pid and which
also kills all child processes.
In addition a function would be nice, which returns the direct child pid of a
given pid.
See also forum post
https://forum.dlang.org/thread/phsyxzkxspzheuenunqz@forum.dlang.org
--
More information about the Digitalmars-d-bugs
mailing list