deno / 1.23.2 / ~ / deno.runoptions.html /

Deno.RunOptions

interface RunOptions {
cmd : readonly 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 : readonly 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–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.RunOptions