mirror of https://github.com/actions/setup-go.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			13 lines
		
	
	
		
			581 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			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>;
 |