Skip to content

Commit

Permalink
Try different signal for killing processes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaelonSuzuka committed Nov 1, 2023
1 parent 77bddac commit 446b6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/subspawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function killSubProcesses(owner: string) {
if (process.platform === "win32") {
execSync(`taskkill /pid ${c.pid} /T /F`);
} else {
process.kill(-c.pid);
process.kill(-c.pid, "SIGTERM");
}
}
} catch {
Expand Down

0 comments on commit 446b6f1

Please sign in to comment.