-
Notifications
You must be signed in to change notification settings - Fork 651
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
Capture Ctrl+C in cli_wallet when not in daemon mode #1193
Comments
Next code doesn't capture CTRL+C also:
I will create new issue for all them, right ? |
I want to claim this issue, my estimation/approximation for this issue is about 3 hours |
Thanks for assigning this issue to me ! |
Capture Ctrl+C in cli_wallet when not in daemon mode #1193
Fixed by #1207. |
Looks good to me. Thanks. Pinging @ryanRfox. |
Thank you very much ! |
Assigned @cogutvalera and estimated 3 hours. |
Thanks ! |
Revert "Capture Ctrl+C in cli_wallet when not in daemon mode #1193"
Reopened because #1220 reverts the solution. @cogutvalera please close #1218 and provide a new solution for this issue. |
… fclose(stdin) solution
… fclose(stdin) solution
Capture Ctrl+C in cli_wallet when not in daemon mode #1193
Resolved with #1232 |
When a
cli_wallet
process is not running in daemon mode (not stared with--daemon
), if Ctrl+C is pressed, it will exit uncleanly, which is dangerous because it may cause loss of unsaved private keys.IMHO we should save wallet file before shutting down.
By the way, Ctrl+C was the only option for Windows users to exit from cli_wallet. Now we've added a
quit
command in #1104, so Windows users can exit normally now. Linux and MacOS users can already exit from cli_wallet by pressing Ctrl+D, now they can use thequit
command as well.CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: