0
I have created a task in VS Code in order to run my python scripts "on the push of a button", but now I want to experiment with sockets, so I want to run a server and a client at the same time. Server starts without any problem, but when I try to fire up the client, VS Code tells me that "The task 'Python (servcmd)' is already active."
. Here is the task I created:
{
"version": "2.0.0",
"tasks": [
{
"label": "Python",
"type": "shell",
"command": "python",
"args": [
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
So how do I run multiple instances of the same task at once? Or if this isn't possible, how can I run multiple python scripts at the same time in VS Code without having to write any command line? Thanks!