Interface ProcessTaskConfiguration

Configuration of a Task that may be run as a process or a command inside a shell.

interface ProcessTaskConfiguration {
    _scope: TaskConfigurationScope;
    args?: string[];
    command?: string;
    dependsOn?: string | TaskIdentifier | (string | TaskIdentifier)[];
    dependsOrder?: DependsOrder;
    detail?: string;
    group?: "build" | "test" | "rebuild" | "clean" | "none" | {
        isDefault: boolean;
        kind: "build" | "test" | "rebuild" | "clean";
    };
    isBackground?: boolean;
    label: string;
    linux?: CommandProperties;
    options?: CommandOptions;
    osx?: CommandProperties;
    presentation?: TaskOutputPresentation;
    problemMatcher?: string | ProblemMatcherContribution | (string | ProblemMatcherContribution)[];
    runOptions?: RunOptions;
    type: ProcessType;
    windows?: CommandProperties;
}

Hierarchy (view full)

Properties

args?: string[]
command?: string
dependsOn?: string | TaskIdentifier | (string | TaskIdentifier)[]

The other tasks the task depend on.

dependsOrder?: DependsOrder

The order the dependsOn tasks should be executed in.

detail?: string
group?: "build" | "test" | "rebuild" | "clean" | "none" | {
    isDefault: boolean;
    kind: "build" | "test" | "rebuild" | "clean";
}

Type declaration

  • isDefault: boolean
  • kind: "build" | "test" | "rebuild" | "clean"
isBackground?: boolean

Whether the task is a background task or not.

label: string

A label that uniquely identifies a task configuration per source

Linux specific task configuration

options?: CommandOptions

macOS specific task configuration

presentation?: TaskOutputPresentation
problemMatcher?: string | ProblemMatcherContribution | (string | ProblemMatcherContribution)[]
runOptions?: RunOptions

Windows specific task configuration