1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts
2024-11-06 00:36:27 +01:00

8 lines
276 B
TypeScript

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();