title: Run python script in Electron app
body: <p>I have a Electron project which executes some python script using NodeJS's child_process module.
  My python script is in the root folder of my project.</p>
  
  <p>Here's how I call the python script:</p>
  
  <pre><code>let py = spawn('python',['ResolvePosition.py', obsFilePath, navFilePath])
  py.stdout.on('data', data =&gt; console.log('data : ', data.toString()))
  py.on('close', ()=&gt;{
    // Python ends, do stuff
  })
  </code></pre>
  
  <p>This works fine if I run my electron app with <code>npm start</code>
  When I build an executable for Windows using the npm module <code>electron-builder</code> and run the executable from <code>dist/win-unpacked/my-app.exe</code>, this won't work, it seems that my script is not accesible with <code>python ./my-script-py</code>.</p>
  
  <p>So, how can I make this code works for the built project?</p>