hopefully pipe parent process stdin to child process
This commit is contained in:
parent
b24a2dbae9
commit
30db5003fb
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ class Bridge {
|
||||||
|
|
||||||
this.process = createServerChildProcess();
|
this.process = createServerChildProcess();
|
||||||
|
|
||||||
|
this.process.stdin.pipe(process.stdin);
|
||||||
|
|
||||||
this.process.stderr.on("data", async (rawDataBuffer) => {
|
this.process.stderr.on("data", async (rawDataBuffer) => {
|
||||||
const stringData = rawDataBuffer.toString().trim();
|
const stringData = rawDataBuffer.toString().trim();
|
||||||
console.error(`[server process stderr]: ${stringData}`);
|
console.error(`[server process stderr]: ${stringData}`);
|
||||||
|
|
Loading…
Reference in a new issue