angelovangel / nextflow-bcl-shiny

a shiny frontend for the nextflow-bcl pipeline
1 stars 0 forks source link

keep processx running after closing browser window #1

Open angelovangel opened 4 years ago

angelovangel commented 4 years ago

The underlying processx (nextflow) has to keep running after closing the browser window. When it finishes, notify user (pass email as an input in shiny?).

kmezhoud commented 1 year ago

Hi, To stop process after closing windows, we need to add something like this in server side. But in some cases, we need to disconnect the app from database. Check logging status. By default the process is stopped when we use session$reload() in actionButton.

  ## close window: and stop the app
  session$onSessionEnded(function() {
    stopApp()  
    print("Good Bye!")
    }
  })

Best,