3
0
Fork 0
mirror of https://gitea.com/actions/setup-go.git synced 2024-11-29 21:19:31 +01:00
setup-go/node_modules/@actions/exec/lib/exec.d.ts
2019-06-24 15:05:39 -04:00

12 lines
593 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>;