function Exec
Exec(
command: string,
...options: (Step<Run> | string)[],
): Exec

Run a command and wait for result.

Parameters

command: string
...options: (Step<Run> | string)[]

Return Type

type alias Exec

Command invocation that returns a result.

Definition

Fn<[Partial<Dir & { exec?: execImpl; }>], Async<Run & { pid?: number; status?: number | null; signal?: string | null; error?: Error; stdout?: string | unknown; stderr?: string | unknown; }>>

Usage

import { Exec } from ".";