Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/js/lib.deno.ns.d.ts>Deno.RunOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.RunOptions
import { type Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.ns.d.ts";
const { RunOptions } = Deno;

Properties

cmd: string[]

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

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