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

x/proc/mod.ts>ProcReadableStream#run

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
method ProcReadableStream.prototype.run
import { ProcReadableStream } from "https://deno.land/x/proc@0.20.1/mod.ts";

Run a process.

Note that this is not type safe. This should only be called on a ProcReadableStream<Uint8Array>. Calling this for other types will cause a runtime error.

Parameters

options: RunFnOptions

The command.

cmd: string

Options.

...args: string[]

Returns

A child process instance.

Run a process.

Note that this is not type safe. This should only be called on a ProcReadableStream<Uint8Array>. Calling this for other types will cause a runtime error.

Parameters

cmd: string

The command.

...args: string[]

Returns

A child process instance.