Otp 2[56] + rebar3 release, missing werl.exe?

What is the status of werl.exe with Otp 2[56] on windows64?
I could not find werl.exe, but rebar3 is trying to use it in the application.cmd.

werl? To be or not to be?

$ dir “C:\Program Files\erl-24.0\bin\werl.exe”
Volume in drive C is Windows-SSD
Volume Serial Number is 18A6-3812

Directory of C:\Program Files\erl-24.0\bin

2021-05-11 22:59 126,464 werl.exe
1 File(s) 126,464 bytes

Directory of C:\Program Files\Erlang OTP\erts-14.0.2\bin

2023-07-14 16:28 .
2023-07-14 16:28 …
2023-06-28 23:46 6,468,048 beam.debug.smp.dll
2023-06-28 23:46 4,851,152 beam.smp.dll
2023-06-28 23:44 18,640,896 beam.smp.pdb
2023-06-28 23:46 44,496 ct_run.exe
2023-06-28 23:46 47,056 dialyzer.exe
2023-06-28 23:46 66,000 epmd.exe
2023-06-28 23:46 138,704 erl.exe
2023-07-14 16:28 115 erl.ini
2023-06-28 23:44 503,808 erl.pdb
2023-06-28 23:46 141,776 erlc.exe
2023-06-28 23:46 183,760 erlexec.dll
2023-06-28 23:44 667,648 erlexec.pdb
2023-06-28 23:46 482,768 erlsrv.exe
2023-06-28 23:46 134,608 erl_call.exe
2023-06-28 23:46 25,552 erl_log.exe
2023-06-28 23:47 49,104 escript.exe
2023-06-28 23:47 36,816 heart.exe
2023-06-28 23:47 66,000 inet_gethost.exe
2023-06-28 23:47 33,744 start_erl.exe
2023-06-28 23:47 45,520 typer.exe
2023-06-28 23:47 158,672 yielding_c_fun.exe
21 File(s) 32,786,243 bytes

As per the Erlang/OTP 26.0 release notes, “werl.exe has been removed and replaced with a symlink to erl.exe”. rebar3 will probably need to be patched, but it needs to keep compatibility with OTP 24 and 25, too.

2 Likes

Thanks!

I was trying to fix by changing the script to point to erl.exe instead of were.exe. .cmd console was not working.