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 cancel any commands when push Ctrl-c #25

Open
ShotaKitazawa opened this issue May 8, 2022 · 1 comment
Open

cannot cancel any commands when push Ctrl-c #25

ShotaKitazawa opened this issue May 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ShotaKitazawa
Copy link
Owner

ShotaKitazawa commented May 8, 2022

  • In current (76ae025), any (especially profiling) command execution cannot be canceled even if push Ctrl-c.
@ShotaKitazawa ShotaKitazawa added the bug Something isn't working label May 8, 2022
@ShotaKitazawa
Copy link
Owner Author

ShotaKitazawa commented May 14, 2022

reproduced this issue when only using SSH. SIGTERM may not be sent to command in ssh-target-server.

This issue may be solved to use github.com/melbahja/goph packages using client.RunContext method instead of current using ssh package.

I verified github.com/melbahja/goph, and it seams cannot solve this issue 😢

@ShotaKitazawa ShotaKitazawa changed the title cancel any commands when push Ctrl-c cannot cancel any commands when push Ctrl-c May 10, 2023
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

1 participant