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)
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)