title: Delay issue 'Exec' child_process node js using powershell
body: <p>This is not an issue but a question</p>
  <p>This give me random execution delay</p>
  <pre><code>exec('echo aaa', { shell: 'powershell.exe' }, (err: any, stdout: any, stderr: any) =&gt; { 
  ...
  </code></pre>
  <p>And this not :</p>
  <pre><code>exec('powershell.exe echo aaa', { shell: 'cmd.exe' }, (err: any, stdout: any, stderr: any) =&gt; { 
  ...
  </code></pre>
  <p>I don't find any information about this 'problem' on internet, using exec method with powershell.</p>
  <p>It seem to work using powershell on the head of command but if anyone have informations or explanation about this i would be delighted to understand.</p>
  <p>Thank you :]</p>