eshost-cli icon indicating copy to clipboard operation
eshost-cli copied to clipboard

Process termination should also kill child processes

Open gibson042 opened this issue 1 year ago • 0 comments

eshost currently spawns child processes with detached: true: https://github.com/tc39/eshost/blob/3989a6bc659c1dc9e44236c10ea772a7f2d4e480/lib/ConsoleAgent.js#L100

As a result, killing an eshost process with e.g. SIGINT or SIGTERM leaves its children running. It should instead explicitly destroy() the child agents.

gibson042 avatar Aug 25 '24 16:08 gibson042