Skip to content

Commit fc5cfed

Browse files
Merge pull request #7446 from rabbitmq/mergify/bp/v3.12.x/pr-7445
2 parents 7e10327 + 05300cc commit fc5cfed

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deps/rabbit/scripts/rabbitmq-diagnostics.bat

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ if not defined ERL_CRASH_DUMP_SECONDS (
3636
set ERL_CRASH_DUMP_SECONDS=0
3737
)
3838

39-
"!ERLANG_HOME!\bin\erl.exe" +B ^
39+
if "%1"=="remote_shell" (
40+
set ERL_CMD=werl.exe
41+
) else (
42+
set ERL_CMD=erl.exe
43+
)
44+
45+
"!ERLANG_HOME!\bin\!ERL_CMD!" +B ^
4046
-boot !CLEAN_BOOT_FILE! ^
4147
-noinput -noshell -hidden -smp enable ^
4248
!RABBITMQ_CTL_ERL_ARGS! ^

0 commit comments

Comments
 (0)