From 7adfae6a2370588703d5f7cf73fc6e24d26a2103 Mon Sep 17 00:00:00 2001 From: Reese Norris Date: Fri, 23 May 2025 22:55:46 -0700 Subject: [PATCH] make batch file waiter silent --- run-windows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-windows.bat b/run-windows.bat index cd83bbb..74fe274 100644 --- a/run-windows.bat +++ b/run-windows.bat @@ -4,6 +4,6 @@ title openfsd start /b cmd /c "set DATABASE_AUTO_MIGRATE=true&& set DATABASE_SOURCE_NAME=openfsd.db?_pragma=busy_timeout(5000)^&_pragma=journal_mode(WAL)&& go run ." -powershell -Command "while (-not (Test-NetConnection -ComputerName localhost -Port 13618 -InformationLevel Quiet)) { Start-Sleep -Seconds 1 }" +powershell -Command "$ProgressPreference = 'SilentlyContinue'; while (-not (Test-NetConnection -ComputerName localhost -Port 13618 -InformationLevel Quiet)) { Start-Sleep -Seconds 1 }" >nul 2>&1 cmd /c "cd web&& set FSD_HTTP_SERVICE_ADDRESS=http://localhost:13618&& set DATABASE_SOURCE_NAME=../openfsd.db?_pragma=busy_timeout(5000)^&_pragma=journal_mode(WAL)&& go run ."