Skip to content

Commit a62087e

Browse files
fix zombie ash process
1 parent adaa4f2 commit a62087e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/programs/core/jetty.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export default {
6767
current_shell_process = shell_proc.process;
6868

6969
const exit_code = await shell_proc.completion;
70+
// TODO: why is this needed? is spawn not managing process death correctly?
71+
shell_proc.process.kill(exit_code);
7072

7173
console.log(`default shell ${default_shell} exited with code ${exit_code}`);
7274

0 commit comments

Comments
 (0)