mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-21 13:53:26 +00:00
chore: generate
This commit is contained in:
parent
613c570a3b
commit
01b7b53eeb
1 changed files with 1 additions and 3 deletions
|
|
@ -6,9 +6,7 @@ const path = require("path")
|
|||
const os = require("os")
|
||||
|
||||
const forwardedSignals =
|
||||
process.platform === "win32"
|
||||
? ["SIGINT", "SIGTERM", "SIGHUP"]
|
||||
: ["SIGINT", "SIGTERM", "SIGHUP", "SIGUSR1"]
|
||||
process.platform === "win32" ? ["SIGINT", "SIGTERM", "SIGHUP"] : ["SIGINT", "SIGTERM", "SIGHUP", "SIGUSR1"]
|
||||
|
||||
function run(target) {
|
||||
const child = childProcess.spawn(target, process.argv.slice(2), { stdio: "inherit" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue