How to use commandLine property in Windows Terminal settings?

0

I'm playing with new Windows Terminal. I love the concept of predefined tabs, which I use for many recurring tasks at work, but I miss a possibility to launch for example gatsby develop in a proper directory right at the start of tab.

My settings.json looks like this:

{
  "guid": "{599ec613-3176-4932-8ee8-a40f19454b74}",
  "name": "CFH Gatsby DEV",
  "startingDirectory": "C:\\Projects\\gatsby-website\\",
  "commandline": "gatsby develop",
}

It doesn't work and exits with an error:

[error 0x80070002 when launching `gatsby develop']

Any suggestions?

terminal
windows-terminal
asked on Super User Apr 29, 2020 by mtk

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0