From d77caa65990904fd51bfcd4440d85f8693c17655 Mon Sep 17 00:00:00 2001 From: erezmce <59171794+erezmce@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:38:24 +0200 Subject: [PATCH 1/2] add maxBuffer to execFile and execFileSync --- src/fallback.ls | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/fallback.ls b/src/fallback.ls index e0c40a1..2beed30 100644 --- a/src/fallback.ls +++ b/src/fallback.ls @@ -4,6 +4,9 @@ require! <[ path child_process split ]> var bin +execFileProperties = + maxBuffer: 1024 * 1024 * 1024 + do function exe new-bin=\roots.exe old = bin bin := path.resolve __dirname, new-bin @@ -34,7 +37,7 @@ export !function sync(args) .on \end !-> callback! .end do - child_process.exec-file-sync bin, args + child_process.exec-file-sync bin, args, execFileProperties export !function async(args) return {run, next, done} @@ -76,7 +79,7 @@ export !function async(args) resolver! !function run callback - child_process.exec-file bin, args, -> + child_process.exec-file bin, args, execFileProperties, -> .stdout .pipe splitter callback .on \end !-> From b5827ea8cf407a7a25e72a1dcdfc0f71da76ac30 Mon Sep 17 00:00:00 2001 From: erezmce <59171794+erezmce@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:05:39 +0000 Subject: [PATCH 2/2] dummy commit to re-run checks