summaryrefslogtreecommitdiff
path: root/runtime/js/40_spawn.js
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-24 15:03:46 +0100
committerGitHub <noreply@github.com>2023-01-24 15:03:46 +0100
commitcadeaae045d2489fe125286b8c2c641c6d973c3f (patch)
treeff98b976cfa25fe3d85201d01a290334a0472f12 /runtime/js/40_spawn.js
parent654e177c919babe4eef4c1c9545ef267b23884e6 (diff)
feat(runtime/command): make stdin default to inherit for spawn() (#17334)
Closes #17230
Diffstat (limited to 'runtime/js/40_spawn.js')
-rw-r--r--runtime/js/40_spawn.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/js/40_spawn.js b/runtime/js/40_spawn.js
index 9c1d96a28..ecbab52ad 100644
--- a/runtime/js/40_spawn.js
+++ b/runtime/js/40_spawn.js
@@ -315,6 +315,7 @@
...(this.#options ?? {}),
stdout: this.#options?.stdout ?? "inherit",
stderr: this.#options?.stderr ?? "inherit",
+ stdin: this.#options?.stdin ?? "inherit",
};
return spawnChild(this.#command, options);
}