From e9041b9edc371f2cbd41a354591b5663f2bb4c84 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sun, 24 Apr 2022 16:21:22 +0100 Subject: fix(runtime/js/spawn): Pass stdio options for spawn() and spawnSync() (#14358) --- cli/dts/lib.deno.unstable.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/dts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 062ec79e7..2904c14f3 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1442,7 +1442,7 @@ declare namespace Deno { /** * Executes a subprocess, waiting for it to finish and * collecting all of its output. - * The stdio options are ignored. + * Will throw an error if `stdin: "piped"` is passed. * * ```ts * const { status, stdout, stderr } = await Deno.spawn(Deno.execPath(), { @@ -1464,7 +1464,7 @@ declare namespace Deno { /** * Synchronously executes a subprocess, waiting for it to finish and * collecting all of its output. - * The stdio options are ignored. + * Will throw an error if `stdin: "piped"` is passed. * * ```ts * const { status, stdout, stderr } = Deno.spawnSync(Deno.execPath(), { -- cgit v1.2.3