1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 11:02:19 -05:00
denoland-deno/tests/specs/run/spawn_stdout_inherit/spawn_stdout_inherit.ts
2024-11-05 06:39:05 +00: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();