From 30db5003fbe7483b94e4d9c97ea75721afb25599 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Sat, 12 Mar 2022 14:09:04 +0200 Subject: [PATCH] hopefully pipe parent process stdin to child process --- scripts/minecraft.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/minecraft.js b/scripts/minecraft.js index 11e3381..009eed1 100644 --- a/scripts/minecraft.js +++ b/scripts/minecraft.js @@ -239,6 +239,8 @@ class Bridge { this.process = createServerChildProcess(); + this.process.stdin.pipe(process.stdin); + this.process.stderr.on("data", async (rawDataBuffer) => { const stringData = rawDataBuffer.toString().trim(); console.error(`[server process stderr]: ${stringData}`);