Last active
March 30, 2022 16:49
-
-
Save UltiRequiem/831223ad27577d4551d842370b793dab to your computer and use it in GitHub Desktop.
Run a deno subcommand
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function denoRun(args: string[], options: Partial<Deno.RunOptions> = {}) { | |
return Deno.run({ | |
cmd: ["deno", ...args], | |
stdout: "null", | |
stderr: "null", | |
...options, | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment