Search code examples
executablenode-webkit

Node Webkit - Executable Program Name


My program I am running using the NodeWebkit is called app.exe. (The one where I combine the basic .exe with my app.nw file.)

How do I find the program name, ie the "app.exe", within the program itself using javascript?


Solution

  • I found it finally. It can be got from process.execPath.