You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need a flag to stop web browser opening a new tab after successful deployment to shinyapps.io #462
One of the use cases we are trying to solve for CI deployments to shinyapps.io is to not have the default web browser tab being open on every successful deployment due to this line in the code.
If we can have an alternative/flag that allows the user to not have a browser tab being opened after successful deployments.
something along the lines of -o, --open_browser [yes|no]If the web browser tab should be automatically opened after deployment yes (default) or no)
so the usage would look like
rsconnect deploy shiny app_file_path --name server_nickname --open_browser no
🤖 This is resolved. Since 1.31.0 (#828), every rsconnect deploy subcommand accepts --quiet, and for shinyapps.io deploys --quiet also skips opening a browser (rsconnect/api.py, the if not logger.quiet check before webbrowser.open_new). For CI, use rsconnect deploy shiny ... --quiet. It prints only the deployed URL, which you can capture with URL=$(...). If you still see a browser open with --quiet, please reopen with your version and command.
Activity
aronatkins commentedon Aug 16, 2023
This is essentially the same as #296. CC @mslynch
tdstein commentedon Nov 10, 2026
🤖 This is resolved. Since 1.31.0 (#828), every
rsconnect deploysubcommand accepts--quiet, and for shinyapps.io deploys--quietalso skips opening a browser (rsconnect/api.py, theif not logger.quietcheck beforewebbrowser.open_new). For CI, usersconnect deploy shiny ... --quiet. It prints only the deployed URL, which you can capture withURL=$(...). If you still see a browser open with--quiet, please reopen with your version and command.