# Windows Terminal: run CLI command on start up

windows-terminal

I was recently interested by new Windows Terminal, so after testing it a bit, I wanted to have one profile which will instantly start development environment of my gatsby website. So I created another profile with config as follows:

"guid": "given unique guid",
"name": "Gatsby DEV",
"startingDirectory": "C:\\Projects\\gatsby-website\\",
"commandline": "gatsby develop"


Unfortunately, after choosing the profile from a menu, I can only see a tab blink, meaning it opens and closes immediately. When I added "closeOnExit": false option, it didn't close, but the shown tab is empty.

Has anyone tried it already and succeeded?

• I use the following to start a Node.JS environment -

{