Skip to main content
Module

x/dax/src/command.ts>CommandChild

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
class CommandChild
extends Promise<CommandResult>
import { CommandChild } from "https://deno.land/x/dax@0.33.0/src/command.ts";

Constructors

new
CommandChild(executor: (resolve: (value: CommandResult) => void, reject: (reason?: any) => void) => void, options?: { pipedStdoutBuffer: PipedBuffer | undefined; pipedStderrBuffer: PipedBuffer | undefined; abortController: AbortController | undefined; })

Methods

abort(): void

Cancels the executing command if able.

stderr(): ReadableStream<Uint8Array>
stdout(): ReadableStream<Uint8Array>