Windows 10: How to stop windows terminal from exiting/closing on ctrl-c?

Discus and support How to stop windows terminal from exiting/closing on ctrl-c? in Windows 10 Software and Apps to solve the problem; I enjoy the Windows terminal, it is very nice. I use it for WSL and Ubuntu with bash shells. However, one big issue I have with it is ctrl-c. In... Discussion in 'Windows 10 Software and Apps' started by Darin Hensley, Sep 18, 2024.

  1. How to stop windows terminal from exiting/closing on ctrl-c?


    I enjoy the Windows terminal, it is very nice. I use it for WSL and Ubuntu with bash shells. However, one big issue I have with it is ctrl-c. In standard Linux terminals, this will not exit close a terminal window which is the correct behavior. In Windows terminal, ctrl-c will exit the terminal window and close it at the command prompt which is incorrect. How can I make it where ctrl-c will not exit the terminal window in Windows terminal?

    :)
     
    Darin Hensley, Sep 18, 2024
    #1

  2. Is there a way to continue giving input after terminating process with Ctrl + C and getting exit code?

    I'm using Powershell from Windows Terminal. When I run some CMD process (such as serving file on local server) and quiet with Ctrl + C, It outputs Process exited with code ****** and stops taking input after that. So I have to open new terminal tab, CD into
    working directory and cont. every time. Is there a way to continue giving input after terminating process with Ctrl + C and getting exit code?

     
    DnyanDeepTaur, Sep 18, 2024
    #2
  3. Windows Terminal

    You Probably Got This Error Here :
    How to stop windows terminal from exiting/closing on ctrl-c? 376140d1664297304t-windows-terminal-erroro.png
    You Need To Enable Touch And Keyboard Handwriting Service On To Fix This Problem To enable Touch Keyboard and Handwriting Panel Service, follow these steps:
    1. Press Win+R in combination to open the Run dialog box.
    2. In the empty field of the box, type Services.msc and hit the Enter key to open the Services (Local) editor.
    3. locate Touch Keyboard and Handwriting Panel Service entry under Name section.
    4. Now double click it
    5. Change The Startup Type To Automatic If It Not Already
    6. Then Click The Start Button Then Click Ok And Close The Window
    7. Now Relaunch Windows Terminal Your Problem Should Now Be Fixed
    btw if this worked for you ( click the thanks button down it helps me a lot ! )
     
    Paper Luigi, Sep 18, 2024
    #3
  4. How to stop windows terminal from exiting/closing on ctrl-c?

    How to fix this ? In VScode The terminal process "C:\Windows\System32\cmd.exe" terminated with exit code: 4294967295.


    How to stop windows terminal from exiting/closing on ctrl-c? 9d0ee5a9-4655-436a-ba15-ab5c8415ed4a?upload=true.jpg
    The terminal process "C:\Windows\System32\cmd.exe" terminated with exit code: 4294967295.
     
    ธวัชชัย แผ่อำนาจ, Sep 18, 2024
    #4
Thema:

How to stop windows terminal from exiting/closing on ctrl-c?

Loading...
  1. How to stop windows terminal from exiting/closing on ctrl-c? - Similar Threads - stop terminal exiting

  2. The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...

    in Windows 10 Gaming
    The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...: I got this error when I updated my vscode via pop up messagei got error whenever i run my program https://answers.microsoft.com/en-us/windows/forum/all/the-terminal-process-cprogram/a97fee4c-1d57-458c-9b7b-0112d4b04ddf
  3. The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...

    in Windows 10 Software and Apps
    The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...: I got this error when I updated my vscode via pop up messagei got error whenever i run my program https://answers.microsoft.com/en-us/windows/forum/all/the-terminal-process-cprogram/a97fee4c-1d57-458c-9b7b-0112d4b04ddf
  4. The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...

    in Windows 10 Customization
    The terminal process "C:\Program Files\PowerShell\7\pwsh.exe" terminated with exit code:...: I got this error when I updated my vscode via pop up messagei got error whenever i run my program https://answers.microsoft.com/en-us/windows/forum/all/the-terminal-process-cprogram/a97fee4c-1d57-458c-9b7b-0112d4b04ddf
  5. CTRL C sometimes stops Bluetooth audio.

    in Windows 10 Gaming
    CTRL C sometimes stops Bluetooth audio.: Same issue as https://answers.microsoft.com/en-us/windows/forum/all/ctrl-c-cuts-my-bluetooth-audio/aaf64154-8d8e-4db7-8c36-53cf4419024bBut that was closed. The guidance was to run SFC which is not a useful or informed response. SFC comes back fine....
  6. CTRL C sometimes stops Bluetooth audio.

    in Windows 10 Software and Apps
    CTRL C sometimes stops Bluetooth audio.: Same issue as https://answers.microsoft.com/en-us/windows/forum/all/ctrl-c-cuts-my-bluetooth-audio/aaf64154-8d8e-4db7-8c36-53cf4419024bBut that was closed. The guidance was to run SFC which is not a useful or informed response. SFC comes back fine....
  7. How to stop windows terminal from exiting/closing on ctrl-c?

    in Windows 10 Gaming
    How to stop windows terminal from exiting/closing on ctrl-c?: I enjoy the Windows terminal, it is very nice. I use it for WSL and Ubuntu with bash shells. However, one big issue I have with it is ctrl-c. In standard Linux terminals, this will not exit close a terminal window which is the correct behavior. In Windows terminal, ctrl-c...
  8. Terminal exiting with code 4294967295

    in Windows 10 Gaming
    Terminal exiting with code 4294967295: I have tried everything but my cmd is not fixing how can I fix it it is showing Terminal exiting with code 4294967295 After some time how can I fix this issue my vs code is also not working via this issue the code exit by cmd same issue with power shell the code exit with...
  9. Terminal exiting with code 4294967295

    in Windows 10 Software and Apps
    Terminal exiting with code 4294967295: I have tried everything but my cmd is not fixing how can I fix it it is showing Terminal exiting with code 4294967295 After some time how can I fix this issue my vs code is also not working via this issue the code exit by cmd same issue with power shell the code exit with...
  10. ctrl+c and ctrl+v stopped working in windows 10

    in Windows 10 Customization
    ctrl+c and ctrl+v stopped working in windows 10: Hi, this week I have encountered problem with ctrl+c and ctrl+v - these two useful shortcuts stopped working. It is not working anywhere in windows. (windows 10, updated 1803) ctrl+x works so problem is not in keyboard My clipboard works when I do copy/paste with mouse -...