Full path to the executable
Array of arguments
Optionaloptions: Object | Function
Options object or legacy callback
OptionallegacyStreamCallback: Function
Legacy streaming callback
The task's result. If the task exits with a non-zero status or is killed by a signal, the promise rejects with an Error that also has the result's exitCode, stdout, stderr and reason. If the program could not be started, the promise rejects with an Error whose reason is "launchFailed"
Create and run a task asynchronously