From ceab8f480d773f00e61d477fa1444e7b8d024b81 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 26 Jun 2023 10:23:45 +0200 Subject: [PATCH] Fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ec58e9e..749d91e 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ async function startBot(accountName) { return new Promise((resolve, reject) => { // const childProcess = spawn('bash', ['-c', `${commandPrefix} ${commandSuffix}`], { stdio: 'inherit' }); const childProcess = spawn('bash', ['-c', `${commandPrefix} ${commandSuffix}`], { - stdio: ['inherit', 'pipe', 'inherit'], + stdio: ['pipe', 'inherit', 'pipe'], }); childProcess.stdout.on('data', (data) => {