[SERVER-32777] CTRL-C in shell during op should not exit the shell Created: 18/Jan/18 Updated: 19/Jun/23 Resolved: 19/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Asya Kamsky | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Do | Votes: | 4 |
| Labels: | move-stm, sdp-backlog-purge, sp-shell | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
If the shell is running an operation hitting CTRL-C will get the prompt asking if server operation should be killed. But why does it exit the shell? It should just kill the operation and return back to the shell prompt. Otherwise there is no way to kill something that's running in the shell. |
| Comments |
| Comment by Alex Neben [ 19/Jun/23 ] |
|
This has been identified as work that the SDP team won't do in the near term. Please reopen with a comment if you feel this work should be reprioritized and explain why. |
| Comment by Steven Vannelli [ 10/May/22 ] |
|
Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions. |
| Comment by Conroy [ 24/May/18 ] |
|
This ctrl-c is really annoying. In unix, the ctrl-c is a shortcut key to terminate a process, and users are used to it. In mongo, this shortcut is not only terminates but it also exits shell. I always accidentally quit the shell and all my efforts are gone. |
| Comment by Charlie Swanson [ 19/Jan/18 ] |
|
I've accidentally quit the shell and lost variables, helper functions, database I'm using, etc. too many times to count. This would be an improvement |