Files
goauto/start-web.bat
T

14 lines
276 B
Batchfile

@echo off
setlocal
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\start-web.ps1" %*
set "GOAUTO_EXIT_CODE=%ERRORLEVEL%"
if not "%GOAUTO_EXIT_CODE%"=="0" (
echo.
echo Startup failed. See the error above.
pause
)
exit /b %GOAUTO_EXIT_CODE%