diff options
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/40_spawn.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/js/40_spawn.js b/runtime/js/40_spawn.js index ea6b409a3..0f26313a6 100644 --- a/runtime/js/40_spawn.js +++ b/runtime/js/40_spawn.js @@ -307,7 +307,12 @@ } spawn() { - return spawnChild(this.#command, this.#options); + const options = { + ...(this.#options ?? {}), + stdout: this.#options?.stdout ?? "inherit", + stderr: this.#options?.stderr ?? "inherit", + }; + return spawnChild(this.#command, options); } }; } |