fix(core): use close event instead of exit in child_process fallback (#25695)

Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
Aryan Kumar
2026-05-04 23:42:21 +05:30
committed by GitHub
parent 77f4be1f3d
commit d313cd7dde
2 changed files with 7 additions and 1 deletions
@@ -778,7 +778,7 @@ export class ShellExecutionService {
abortSignal.addEventListener('abort', abortHandler, { once: true });
child.on('exit', (code, signal) => {
child.on('close', (code, signal) => {
handleExit(code, signal);
});