summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/40_process.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js
index 70a590f36..543c53c27 100644
--- a/runtime/js/40_process.js
+++ b/runtime/js/40_process.js
@@ -100,6 +100,7 @@
function run({
cmd,
cwd = undefined,
+ clearEnv = false,
env = {},
stdout = "inherit",
stderr = "inherit",
@@ -111,6 +112,7 @@
const res = opRun({
cmd: ArrayPrototypeMap(cmd, String),
cwd,
+ clearEnv,
env: ObjectEntries(env),
stdin: isRid(stdin) ? "" : stdin,
stdout: isRid(stdout) ? "" : stdout,