Always inherit by default.
This commit is contained in:
parent
dde7db50b0
commit
590571526c
|
@ -15,12 +15,13 @@ export function stringifyJsonPretty(input: unknown): string {
|
||||||
|
|
||||||
export async function runCommand(
|
export async function runCommand(
|
||||||
command: string,
|
command: string,
|
||||||
options: Deno.CommandOptions = {
|
options: Deno.CommandOptions = {},
|
||||||
|
): Promise<void> {
|
||||||
|
await new Deno.Command(command, {
|
||||||
stderr: "inherit",
|
stderr: "inherit",
|
||||||
stdout: "inherit",
|
stdout: "inherit",
|
||||||
},
|
...options,
|
||||||
): Promise<void> {
|
}).output();
|
||||||
await new Deno.Command(command, options).output();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function runAndReturnStdout(
|
export async function runAndReturnStdout(
|
||||||
|
|
Loading…
Reference in New Issue