编译后的 NodeJs 应用程序在执行时从哪里读取 dotenv 文件? - Where do compiled NodeJs apps read the dotenv file from at execute time?
我正在编写一个使用dotenv的commanderjs应用程序。 该应用程序是使用pkg编译的。 我已经为 linux 编译了应用程序并将二进制文件移动到/usr/local/bin ,以便它在我的PATH上可用。 我正在从~/testing/myscript.sh中的 shell 脚本运行应用程 ...