Konrad Pabjan 948e5343c7
Revert "Update releases/v1 with changes from master (#67)" (#68)
This reverts commit bdd6409dc13e625e6c1c0ad857bd591804786f7b.
2020-03-09 10:51:55 +01:00

13 lines
581 B
TypeScript

import * as im from './interfaces';
/**
* Exec a command.
* Output will be streamed to the live console.
* Returns promise with return code
*
* @param commandLine command to execute (can include additional args). Must be correctly escaped.
* @param args optional arguments for tool. Escaping is handled by the lib.
* @param options optional exec options. See ExecOptions
* @returns Promise<number> exit code
*/
export declare function exec(commandLine: string, args?: string[], options?: im.ExecOptions): Promise<number>;