mirror of https://git.tuxpa.in/a/code-server.git
refactor: use stdio correctly in wrapper
This commit is contained in:
parent
18ace7b906
commit
e4db80667e
|
@ -314,7 +314,7 @@ export class ParentProcess extends Process {
|
||||||
CODE_SERVER_PARENT_PID: process.pid.toString(),
|
CODE_SERVER_PARENT_PID: process.pid.toString(),
|
||||||
NODE_OPTIONS: `--max-old-space-size=2048 ${process.env.NODE_OPTIONS || ""}`,
|
NODE_OPTIONS: `--max-old-space-size=2048 ${process.env.NODE_OPTIONS || ""}`,
|
||||||
},
|
},
|
||||||
stdio: ["ipc"],
|
stdio: ["inherit", "pipe", "pipe", "ipc"],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue