UNPKG

node-exec-promise

Version:

Execute commands from Node.js and get a Promise back.

3 lines (2 loc) 205 B
export declare function exec(command: string): Promise<{ stdout: string; stderr: string }>; export declare function execFile(file: string, options?: string[]): Promise<{ stdout: string; stderr: string }>;