VS Code API
    Preparing search index...

    Function executeTask

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

      Parameters

      • task: Task

        the task to execute

      Returns Thenable<TaskExecution>

      A thenable that resolves to a task execution.

      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.