I am writing a commanderjs app, that uses dotenv. The app is that is compiled using pkg .
I have compiled the app for linux and moved the binary to /usr/local/bin
, for it to be available on my PATH
.
I am running the app from a shell script in ~/testing/myscript.sh
When I run the script from e.g. ~/testing
where does the compiled app read the .env
file from?