Skip to content

[Feature request] Make executorMap behave differently for different OS platforms #1287

Description

@diogo-rossi

It would solve many problems if the extension could identify the operating
system platform and run different executors.

Description of what would be a minimal interface:

{
    "code-runner.executorMap.windows": {
        "python": "python",
        "html": "\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"",
        "c": "cd $dir && cl.exe $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
    },
    "code-runner.executorMap.linux": {
        "python": "python3",
        "html": "/usr/local/bin/chrome",
        "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
    }
}

Related issues (still open)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions