On 15/10/2016 5:33 AM, Andre Pany wrote:
Hi,

I developed an application which starts and stops other applications
like NodeJS HTTP server applications or Java Tomee Servlets. A typical
NodeJS application has a process tree of 4-5 levels.
I had to switch really fast from std.process functionality like kill and
wait to OS specific functionality because the child processes were not
killed entirely leading to effects like blocked ports/files/directories.
I have to use windows command taskkill.exe with parameter "Child tree
kill".

What I miss is s.th. to get the child Pids of a parent Pid. Again I can
use OS dependent functionality to retrieve the processIDs of the
children, but how to convert these processIDs to Pids for usage with
kill/wait functions?

Do I miss s.th. fundamental with std.process?

Kind regards
André


Yeah we don't support that right now in std.process.

Reply via email to