C
C copied to clipboard
[ERROR] : Unable to perform this action because the process is running
What would you like to share?
I have tried setting externalConsole to true from false,yet this error keeps occuring,below is the configuration of my tasks.json :
{
"version": "2.0.0",
"tasks": [
{
"label": "build and run",
"type": "shell",
"command": "gcc",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$gcc"],
"detail": "Generated task by VS Code"
},
{
"label": "run",
"type": "shell",
"command": "${fileDirname}/${fileBasenameNoExtension}",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
}
}
]
}
I have tried reinstalling VS code from scrap but still this error is keep on occuring,It would be a relief if someone comes up with a solution
Additional information
P.S : I am macbook m2 air user