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) => {