Electron: Where are global variables 'process', '__directory' etc. declared?


I have installed Electron on Windows 7 and got the electron-quick-start running. Now I try to find out which file contains definitions that are usually contained in ‘node-globals-stub.js’, e.g. ‘process’ or ‘__directory’. Can someone point me to the file in Electron?


They come from node: https://nodejs.org/api/globals.html


Yes, I know that. But Electron works with a modified node library. This library does not contain the file ‘node-globals-stub.js’ which in a typical node installation contains the mentioned definitions. My question is: where else in Electron can I find them?