Skip to content

Commit

Permalink
Increase maxBuffer to 200 MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Feb 16, 2022
1 parent 7fafa26 commit 792370a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.mjs
Expand Up @@ -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 => {
Expand Down

0 comments on commit 792370a

Please sign in to comment.