From 792370a45e392f1588591aea6072654e54ff2151 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Wed, 16 Feb 2022 17:47:00 +0100 Subject: [PATCH] Increase maxBuffer to 200 MiB --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index 0974efc662..e72520b235 100644 --- a/index.mjs +++ b/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 => {