summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/40_spawn.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/js/40_spawn.js b/runtime/js/40_spawn.js
index a0283f0ff..a9a968ba3 100644
--- a/runtime/js/40_spawn.js
+++ b/runtime/js/40_spawn.js
@@ -36,6 +36,7 @@
stdout = "piped",
stderr = "piped",
signal = undefined,
+ windowsRawArguments = false,
} = {}) {
const child = ops.op_spawn_child({
cmd: pathFromURL(command),
@@ -48,6 +49,7 @@
stdin,
stdout,
stderr,
+ windowsRawArguments,
}, apiName);
return new Child(illegalConstructorKey, {
...child,
@@ -243,6 +245,7 @@
stdin = "null",
stdout = "piped",
stderr = "piped",
+ windowsRawArguments = false,
} = {}) {
if (stdin === "piped") {
throw new TypeError(
@@ -260,6 +263,7 @@
stdin,
stdout,
stderr,
+ windowsRawArguments,
});
return {
success: result.status.success,