default
default: (command: string, args?: string[], options?: ExecutionOptions) => Promise<ExecaReturnValue<string>>
Type declaration
-
- (command: string, args?: string[], options?: ExecutionOptions): Promise<ExecaReturnValue<string>>
-
Parameters
-
command: string
-
Optional args: string[]
-
Optional options: ExecutionOptions
Returns Promise<ExecaReturnValue<string>>
Execa process output
Executes arbitrary commands on the host system in a subprocess, piping their outputs to the global logger. If specified, aborts execution after a specified time.