W3cubDocs

/Deno

Deno.RunOptions

interface RunOptions {
cmd: string[] | [URL, ...string[]];
cwd?: string;
env?: {
[key: string]: string;
}
;
stderr?:
| "inherit"
| "piped"
| "null"
| number;
stdin?:
| "inherit"
| "piped"
| "null"
| number;
stdout?:
| "inherit"
| "piped"
| "null"
| number;
}

Properties

cmd: string[] | [URL, ...string[]]

Arguments to pass. Note, the first element needs to be a path to the binary

cwd?: string
env?: {
[key: string]: string;
}
stderr?: "inherit" | "piped" | "null" | number
stdin?: "inherit" | "piped" | "null" | number
stdout?: "inherit" | "piped" | "null" | number

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.RunOptions