process.execPath 属性会返回启动 Node.js 进程的可执行文件的绝对路径。 符号链接(如果有)会被处理。
process.execPath
'/usr/local/bin/node'
若有收获,就点个赞吧
0 人点赞
让时间为你证明