ProtectedexecProtectedspawnOptionaloptions: SpawnSyncOptionsKills the given process together with all of its descendants.
This blocks the event loop, so that it can run in an exit handler, where the loop is no longer
available. Prefer terminateChildProcessTrees while the event loop is running, as listing
the descendants of a process can be slow, in particular on Windows.
ProtectedunixProtectedunixProtectedunixProtectedunixthe output of ps ax -o ppid=,pid=
the PIDs of all of the descendants of the given process
ProtectedunixProtectedunixProtectedwinthe PIDs of the direct children of the given process, see winGetChildPidsArgs
Protectedwinthe arguments of a PowerShell command that prints the PIDs of the direct children of the given process, one per line, except for:
conhost.exe) that Windows attaches to a process launched without a console,
which taskkill may fail to killProtectedwinthe PIDs of the direct children of the given process, see winGetChildPidsArgs
Protectedwinthe absolute path of Windows PowerShell, so that it does not depend on the PATH,
or just its name if the Windows directory is unknown.
Protectedwinthe output of the command of winGetChildPidsArgs
ProtectedwinForcefully kills the given processes together with all of their descendants.
ProtectedwinProtectedwin
@theia/coreservice with some process-related utilities.