2nd change
This commit is contained in:
2
index.js
2
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', process.stderr],
|
||||
stdio: ['inherit', 'pipe', 'inherit'],
|
||||
});
|
||||
|
||||
childProcess.stdout.on('data', (data) => {
|
||||
|
||||
Reference in New Issue
Block a user