diff options
author | Leo K <crowlkats@toaxl.com> | 2021-09-13 19:26:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 19:26:23 +0200 |
commit | a655a0f3e4201840eda94938fc8d6222c2b94a99 (patch) | |
tree | 9b065e3e2e4fcfd7f59ef004e2cd2bc2b6c785de /runtime/js/40_process.js | |
parent | 274ff6c469656bfe527fa644c24dfecc79e90ce4 (diff) |
feat(unstable): allow specifing gid and uid for subprocess (#11586)
Diffstat (limited to 'runtime/js/40_process.js')
-rw-r--r-- | runtime/js/40_process.js | 4 |
1 files changed, 4 insertions, 0 deletions
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, |