title: PATH variables empty in electron?
body: <p>I'm trying to access items in my PATH environment variable from my electron instance, when I run it with <code>npm start</code> while developing it through node.js I get all the expected variables, but when I run the electron application with my resources inside I'm left with only usr/bin</p>
  
  <p>This is how it looks like when I run it from npm:<a href="https://i.stack.imgur.com/JGD7i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JGD7i.png" alt="ran from npm"></a></p>
  
  <p>And this is how it looks when run from the electron mac application precompiled: 
  <a href="https://i.stack.imgur.com/pQczs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pQczs.png" alt="Electron precompiled"></a></p>
  
  <p>Does anyone know why this could be the case? And if I can do anything to reach my normal PATH variables</p>
  
  <p>UPDATE:
  After a lot of research I found out that GUI applications ran from finder or docker in Mac OSX use different environment variables compared to if they are ran from the terminal:
  <a href="https://superuser.com/questions/476752/setting-environment-variables-in-os-x-for-gui-applications">This can be edited through plist files, either globally or application specific</a></p>