title: Is there a way to open a Visual Studio Code internal powershell window from NPM Script?
body: <p>I am currently doing some work with npm scripts and can't find an answer to my question online!</p>
  <p>I want to run 3 NPM scripts by typing one command. Here the scripts:</p>
  <p><code>&quot;start-jsonserver:platform&quot;: &quot;ng serve --configuration jsonserver&quot;</code></p>
  <p><code>&quot;start:corePlugins&quot;: &quot;ng serve corePlugins&quot;,</code></p>
  <p><code>&quot;start:jsonserver&quot;: &quot;cd ../json-server &amp; npm run start&quot;,</code></p>
  <p><code>&quot;start:allJsonEnvironment&quot;: &quot;npm run start-jsonserver:platform &amp;&amp; npm run start:corePlugins &amp;&amp; npm run start:jsonserver&quot;,</code></p>
  <p>Note that the last command is not working as I want it to as it stops after the first <code>ng serve</code> is &quot;done&quot;. I have also tried the same command with just one <code>&amp;</code> but this has the same effect</p>
  <p>I have found a solution which is opening 3 seperate Powershell windows:</p>
  <p><code>&quot;start:allJsonEnvironment&quot;: &quot;start powershell npm run start-jsonserver:platform &amp;&amp; start powershell npm run start:corePlugins &amp;&amp; start powershell npm run start:jsonserver&quot;</code></p>
  <p>The Problem is this opens the normal 'standalone' Powershell windows which, to be honest is really ugly and I am used to seeing the VS Code internal <strong>Powershell</strong> windows (3 at the same time) since its easy to spot if something went wrong.
  Like that:</p>
  <p><a href="https://i.stack.imgur.com/5cpj1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5cpj1.png" alt="enter image description here" /></a></p>
  <p>So if there is a way to open these 'internal' Powershell windows from the npm script I would really appreciate help.</p>
  <p>(I know there is a way to run all three scripts in one internal window but that is not what I am looking for!)</p>