Skip to content

Commit

Permalink
Start Browser to allow the message show
Browse files Browse the repository at this point in the history
  • Loading branch information
MeWu-IDM committed Mar 27, 2024
1 parent 04fb46f commit c80818e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions start_pace_ui.bat
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,8 @@ SET PORT=8888
ECHO Starting Shiny app on port %PORT%...
ECHO Using %R_PATH% ON %SHINY_DIR%

START /MIN "" %R_PATH% -e "shiny::runApp(appDir='%SHINY_DIR%', port=%PORT%, launch.browser=FALSE)"

REM Wait for a few seconds to ensure the Shiny app has started
ECHO Wait for 5 seconds for app launching ...
TIMEOUT /T 5

REM Open the default web browser to the Shiny app
START http://localhost:%PORT%
START /MIN "" %R_PATH% -e "shiny::runApp(appDir='%SHINY_DIR%', port=%PORT%, launch.browser=TRUE)"
ECHO Your default browser will be opened for PACE-HRH-UI in a few seconds ...

GOTO end

Expand Down

0 comments on commit c80818e

Please sign in to comment.