Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/libpkgx/src/porcelain/run.ts>default

bringing the entire open source ecosystem to your node and deno apps
Very Popular
Go to Latest
function default
import { default } from "https://deno.land/x/libpkgx@v0.14.1/src/porcelain/run.ts";

Parameters

cmd: Cmd
optional
opts: OptsEx

Returns

Promise<void>

Parameters

cmd: Cmd
opts: { stdout: true; } & OptsEx

Returns

Promise<{ stdout: string; }>

Parameters

cmd: Cmd
opts: { stderr: true; } & OptsEx

Returns

Promise<{ stderr: string; }>

Parameters

cmd: Cmd
opts: { status: true; } & OptsEx

Returns

Promise<{ status: number; }>

Parameters

cmd: Cmd
opts: { stdout: true; stderr: true; } & OptsEx

Returns

Promise<{ stdout: string; stderr: string; }>

Parameters

cmd: Cmd
opts: { stdout: true; status: true; } & OptsEx

Returns

Promise<{ stdout: string; status: number; }>

Parameters

cmd: Cmd
opts: { stderr: true; status: true; } & OptsEx

Returns

Promise<{ stderr: string; status: number; }>

Parameters

cmd: Cmd
opts: { stdout: true; stderr: true; status: true; } & OptsEx

Returns

Promise<{ stdout: string; stderr: string; status: number; }>