fix: kill orphaned MCP child processes and expose OPENCODE_PID on shu… (#15516)
This commit is contained in:
parent
38704acacd
commit
c4c0b23bff
3 changed files with 39 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ try {
|
|||
Object.assign(process.env, serverEnv)
|
||||
process.env.AGENT = "1"
|
||||
process.env.OPENCODE = "1"
|
||||
process.env.OPENCODE_PID = String(process.pid)
|
||||
|
||||
const log = await import("../../opencode/src/util/log")
|
||||
const install = await import("../../opencode/src/installation")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue