aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@actions/exec/lib/exec.d.ts
blob: 8c64aae3df8333224900ad344088e6d61a21bcfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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>;