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

Keyboard interrupts not working properly with run #763

Closed
qherreros opened this issue Dec 27, 2018 · 6 comments
Closed

Keyboard interrupts not working properly with run #763

qherreros opened this issue Dec 27, 2018 · 6 comments
Labels
status/needs-reproduction Issue needs a minimal reproduction to be confirmed

Comments

@qherreros
Copy link

  • Solus OS
  • Poetry 0.12.10

Hello,

I've been playing around with poetry and crossbar.io (a websocket server). Whenever i run "poetry run crossbar start", the CTRL-C interrupts my server in a brutal way (unclean shutdown). If i do the same thing after a "poetry shell" then "crossbar start", my CTRL-C works as intended.

I'm not fluent in SIGTERM but there is something strange happening with poetry run.

Thanks anyway for this amazing tool.

@sybrenstuvel
Copy link

I can confirm this with Poetry 0.12.15 on Ubuntu 18.04 LTS. Running poetry run py.test and then interrupting with Ctrl+C does not send the interrupt to py.test, but rather instantly kills the process.

@stale
Copy link

stale bot commented Nov 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 13, 2019
@sybrenstuvel
Copy link

This is still an issue in Poetry 0.12.17.

@stale stale bot removed the stale label Nov 13, 2019
@dfontenot
Copy link

This issue is still present in 1.1.12. Running into this issue with a dockerized Python codebase that uses Poetry. Am using a virtualenv within the container due to this issue #3139

Are there any other workarounds? I'm relying on the signals to reach the Python script itself so that it can do the proper cleanup.

@neersighted
Copy link
Member

I'm unable to reproduce this on 1.2.1 -- if you can consistently reproduce it, please post instructions here

@neersighted neersighted added the status/needs-reproduction Issue needs a minimal reproduction to be confirmed label Oct 4, 2022
@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/needs-reproduction Issue needs a minimal reproduction to be confirmed
Projects
None yet
Development

No branches or pull requests

4 participants