This commit is contained in:
2023-06-26 10:23:45 +02:00
parent 349940efd4
commit ceab8f480d

View File

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