mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat(unstable): allow specifing gid and uid for subprocess (#11586)
This commit is contained in:
parent
274ff6c469
commit
a655a0f3e4
5 changed files with 90 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue