process.execPath


process.execPath 属性会返回启动 Node.js 进程的可执行文件的绝对路径。 符号链接(如果有)会被处理。

'/usr/local/bin/node'

The process.execPath property returns the absolute pathname of the executable that started the Node.js process. Symbolic links, if any, are resolved.

'/usr/local/bin/node'