Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

fix: run bin abort signal #782

Merged
merged 3 commits into from
Mar 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions providers/frame/FrameBinProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export abstract class FrameBinProvider extends FrameProxyProvider {
args,
stdout: "piped",
stderr: "piped",
signal: this.env.signal,
tjjfvi marked this conversation as resolved.
Show resolved Hide resolved
})
const process = command.spawn()
this.env.signal.addEventListener("abort", () => process.kill("SIGINT"))
return process

return command.spawn()
}

binValid?: Promise<void>
Expand Down