1
Fork 0

Always inherit by default.

This commit is contained in:
Bauke 2023-06-07 15:43:59 +02:00
parent dde7db50b0
commit 590571526c
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 5 additions and 4 deletions

View File

@ -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(