Skip to content

Commit 077190b

Browse files
Merge pull request #7447 from rabbitmq/mergify/bp/v3.11.x/pr-7446
Fix remote_shell on win32 (backport #7445) (backport #7446)
2 parents 8f58855 + b384ea6 commit 077190b

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)