Commit 792370a

Anton Medvedev <anton@medv.io>
2022-02-16 17:47:00
Increase maxBuffer to 200 MiB
1 parent 7fafa26
Changed files (1)
index.mjs
@@ -84,6 +84,7 @@ export function $(pieces, ...args) {
       shell: typeof shell === 'string' ? shell : true,
       stdio: [promise._inheritStdin ? 'inherit' : 'pipe', 'pipe', 'pipe'],
       windowsHide: true,
+      maxBuffer: 200 * 1024 * 1024, // 200 MiB
     })
 
     child.on('exit', code => {