<div>inside std.process it says:</div><div>// Pids are only meant to be constructed inside this module, so we make the constructor private.</div><div>However, this makes a number of useful functions from std.process useless unless the processes were created via one of std.process' functions.</div>
<div>Can we make std.process.Pid.this(int pid) public?</div><div><br></div><div>Use case:</div><div>int pid=...; //parse pid from call to 'ps au' for example</div><div>std.process.kill(pid);</div><div>std.process.wait(pid);</div>
<div>//etc</div><div><br></div><div><br></div>