Przeglądaj źródła

Merge pull request #1007 from chschenk:bug-stderr-buffer-full

GitOrigin-RevId: 2ee5b8a4ba1f1d3e237eb7f01d8cb962d1f37c57
Copybot 4 lat temu
rodzic
commit
40a7f41b41
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      services/clsi/app/js/LocalCommandRunner.js

+ 1 - 1
services/clsi/app/js/LocalCommandRunner.js

@@ -50,7 +50,7 @@ module.exports = CommandRunner = {
     }
     }
 
 
     // run command as detached process so it has its own process group (which can be killed if needed)
     // run command as detached process so it has its own process group (which can be killed if needed)
-    const proc = spawn(command[0], command.slice(1), { cwd: directory, env })
+    const proc = spawn(command[0], command.slice(1), { cwd: directory, env, stdio: ['pipe', 'pipe', 'ignore'] })
 
 
     let stdout = ''
     let stdout = ''
     proc.stdout.setEncoding('utf8').on('data', data => (stdout += data))
     proc.stdout.setEncoding('utf8').on('data', data => (stdout += data))