diff options
Diffstat (limited to 'tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts')
-rw-r--r-- | tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts b/tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts new file mode 100644 index 000000000..04f635cea --- /dev/null +++ b/tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts @@ -0,0 +1,8 @@ +await new Deno.Command(Deno.execPath(), { + args: ["eval", "--quiet", "console.log('Hello, world! 1')"], + stdout: "inherit", +}).output(); +new Deno.Command(Deno.execPath(), { + args: ["eval", "--quiet", "console.log('Hello, world! 2')"], + stdout: "inherit", +}).outputSync(); |