vscode-terminals icon indicating copy to clipboard operation
vscode-terminals copied to clipboard

Command entered before terminal start

Open dominic-ks opened this issue 1 year ago • 3 comments

Hello,

Firstly, thanks for this extension, life saver.

Started having a slight issue though, not a major one, just a bit annoying. I'll hit Terminals: Run, all my terminals open, all the commands are entered, but looks like it goes in before the terminal is actually open and so doesn't execute. Doing Terminals: Run again then runs them as you'd expect.

I'm running WSL2 in Windows 11. Happens across all projects but here's a sample terminals.json anyway:

{
  "autorun": false,
  "terminals": [
    {
      "name": "Firebase Emultators",
      "description": "Run the Firebase Emultators for this project!",
      "command": "firebase emulators:start --only functions,firestore"
    },
    {
      "name": "NestJS Serve",
      "description": "Serve the NestJS project, mainly to keep it building.",
      "command": "nx serve muso-tools-nest:serve" 
    }
  ]
}

Here's what it looks like when it doesn't run the first time: image

Anything I can do to assist resolving this please say.

dominic-ks avatar Jul 27 '23 20:07 dominic-ks