UNPKG

@beenotung/tslib

Version:
12 lines (11 loc) 411 B
/// <reference types="node" /> import { exec as _exec, SpawnOptionsWithoutStdio } from 'child_process'; export declare let exec: typeof _exec.__promisify__; export declare function spawn(options: { cmd: string; args?: string[]; options?: SpawnOptionsWithoutStdio; on_stdout?: (chunk: any) => void; on_stderr?: (chunk: any) => void; on_error?: (error: any) => void; }): Promise<unknown>;