1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-25 14:42:41 +00:00
setup-node/node_modules/@actions/exec/lib/exec.d.ts

13 lines
581 B
TypeScript
Raw Normal View History

2019-08-05 19:18:52 +00:00
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>;