UCSF-CBI / rstudio-server-controller

RStudio Server Controller (RSC) - A Tool for Launching a Personal Instance of the RStudio Server
https://github.com/UCSF-CBI/rstudio-server-controller
ISC License
4 stars 2 forks source link

rsc stop: different behavior when there's an active rsession running? #63

Open HenrikBengtsson opened 2 years ago

HenrikBengtsson commented 2 years ago

Idea:

If there are active rsession processes (rsc status), then have rsc stop should produce a warning saying it is safer to shut down sessions from the RStudio interface ("stop" button). To proceed, use rsc stop --force.

If there's a running rsc start, and the user hits Ctrl-C, they should be prompted with the same warning and asking if they really want to continue [n/Y].