title: How to run background node process with vscode and without node on client machine
body: <p>I would like to run a node process in the background of my VS Code extension (something that will stay alive even after shutting down VSCode).</p>
  <p>The target machine does not have node, but only has VSCode installed.</p>
  <p>I have tried using <code>fork</code> with the env variable <code>ELECTRON_RUN_AS_NODE = 1</code> and <code>detached</code> as follows:</p>
  <pre class="lang-js prettyprint-override"><code>const { fork } = require('child_process');
  fork('path to js', {detached: true, env: {...process.env, ELECTRON_RUN_AS_NODE:'1'})
  </code></pre>
  <p>This works as expected, however the process seems to die when I close or restart VS Code.
  The child process seems to be using the VS Code renderer process (I guess that's why it dies).</p>
  <p>Anyone tried this or suggestions on how i could run a node process in the background on a machine with VS Code &amp; not have Node installed.</p>