executeTaskAsync

Executes a task that is managed by the editor. The returned task execution can be used to terminate the task.

Parameters

task

the task to execute

Throws

When

running a ShellExecution or a ProcessExecution task in an environment where a new process cannot be started. In such an environment, only CustomExecution tasks can be run.