Add console command to windows runner script

This commit is contained in:
Matt Campbell 2011-09-20 10:11:33 -05:00 committed by Tuncer Ayaz
parent 36a40d3351
commit 5998c6c721

View file

@ -23,6 +23,7 @@
@if "%1"=="start" @goto start
@if "%1"=="stop" @goto stop
@if "%1"=="restart" @call :stop && @goto start
@if "%1"=="console" @goto console
@rem TODO: attach, ping, restart and reboot
:usage
@ -46,6 +47,10 @@
@%erts_bin%\erlsrv.exe stop %service_name%
@goto :EOF
:console
@start %erts_bin%\werl.exe -boot %releases_dir%\%release_version%\%node_name%
@goto :EOF
:set_trim
@set %1=%2
@goto :EOF