Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot suspend shiny app once an httpgd device is created #108

Open
renkun-ken opened this issue Apr 23, 2022 · 3 comments
Open

Cannot suspend shiny app once an httpgd device is created #108

renkun-ken opened this issue Apr 23, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@renkun-ken
Copy link
Contributor

Describe the bug

As long as I create an httpgd device before running a shiny app, I cannot use control-c to suspend the shiny app and let the command line go back to user input.

To Reproduce

httpgd::hgd()
shiny::runExample("01_hello")
# now press control-c but the shiny app cannot be suspended.

Expected behavior

Creating httpgd device should not make the shiny app un-suspendable.

Environment

  • OS: macOS 12.3.1
  • Browser: Firefox 99.0.1
  • R version: 4.1.3
  • httpgd version: 1.3.0
@nx10
Copy link
Owner

nx10 commented Apr 23, 2022

Thank you for opening the issue.

I could not replicate this for httpgd 1.3 on windows, but it does happen with 1.3 on linux.
I suspect this is some platform specific bug with later which both httpgd 1.3 and shiny uses.

It does not happen in the development version (master branch) of httpgd of linux. (Where I replaced later recently with a custom solution)
Could you check if it also works for macOS with the development version of httpgd?

@renkun-ken
Copy link
Contributor Author

I tried the latest master branch of httpgd on macOS and the problem still persists.

@nx10
Copy link
Owner

nx10 commented Apr 23, 2022

Thank you for testing. I will investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants