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

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

`import`… but with pkging powers
Very Popular
Latest
function default
import { default } from "https://deno.land/x/libpkgx@v0.20.0/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; }>