From a655a0f3e4201840eda94938fc8d6222c2b94a99 Mon Sep 17 00:00:00 2001 From: Leo K Date: Mon, 13 Sep 2021 19:26:23 +0200 Subject: feat(unstable): allow specifing gid and uid for subprocess (#11586) --- runtime/js/40_process.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/js') diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js index 543c53c27..782dfe476 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.js @@ -102,6 +102,8 @@ cwd = undefined, clearEnv = false, env = {}, + gid = undefined, + uid = undefined, stdout = "inherit", stderr = "inherit", stdin = "inherit", @@ -114,6 +116,8 @@ cwd, clearEnv, env: ObjectEntries(env), + gid, + uid, stdin: isRid(stdin) ? "" : stdin, stdout: isRid(stdout) ? "" : stdout, stderr: isRid(stderr) ? "" : stderr, -- cgit v1.2.3