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

x/proc/mod2.ts>ProcReadableStream#run

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method ProcReadableStream.prototype.run
import { ProcReadableStream } from "https://deno.land/x/proc@0.20.17/mod2.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: Cmd

Options.

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: Cmd

The command.

Returns

A child process instance.