简体   繁体   中英

start_erl.exe broken in erts5.8.4

When I run start_erl.exe, (using this command: start_erl.exe ++ -reldir ) I get:

Error: Failed to query BinDir of release.

This is a documented problem (see http://erlang.2086793.n4.nabble.com/Running-a-release-as-a-Windows-service-with-erlsrv-exe-and-start-erl-exe-td3575814.html )

I was just wondering if anyone's found a solution for it or a workaround that doesn't use start_erl.exe

As tmp solution, I added string paths to registry HKLM\\SOFTWARE\\Ericsson\\Erlang\\XXX\\Bindir and HKLM\\SOFTWARE\\Ericsson\\Erlang\\XXX\\Rootdir where XXX version of your erts

Bindir is a full path to erts-XXX\\bin and Rootdir is a full path to releases directory

It works

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM