UNPKG

406 BTypeScriptView Raw
1/// <reference types="node" />
2/// <reference types="node" />
3import Promise from 'bluebird';
4import { SpawnOptions } from 'child_process';
5interface Options extends SpawnOptions {
6 verbose?: boolean;
7 encoding?: BufferEncoding;
8}
9declare function promiseSpawn(command: string, args?: string | string[] | Options, options?: Options): Promise<string | void | Buffer>;
10export = promiseSpawn;