Closed silviucpp closed 8 years ago
Committed the fix. Thanks.
@saleyn I think a bug is that even if I put {root, true} and run the app as route . somehow erlexec fails and the operations are not completed fine. Without root is working fine.
Silviu
Hello,
I just added erlexec to my application dependencies and then in the
sys.config
I added:Once the application is starting is not finding any environment variable. I suppose because the name of the app is erlexec and not exec.
So changing the code to
case application:get_env(erlexec, Option) of
into the following functionAnd also the app name into
erlexec
intosys.config
fixed my issue.What do you think ?