task icon indicating copy to clipboard operation
task copied to clipboard

Git Bash freezing and unresponsive after doing Ctrl+C

Open Onlooker2186 opened this issue 1 year ago • 1 comments

  • Task version: v3.34.1 (h1:yAAxUM54zoaHv+OtDnGgkWSVeiRuaOCn1lPUXPQQA0o=)
  • Operating system: Windows 11 (Same issue is present on Windows 10)
  • Experiments enabled: None

When invoking tasks using Git Bash via Windows Terminal Git Bash via Windows Terminal or VSCode's terminals (instead of Git Bash CLI directly), pressing Ctrl + C will seemingly terminate the task, but it is now unresponsive as no further commands can be entered into the terminal.

Repro steps:

  • Clone from https://github.com/v9ejs/taskfile-issue-demo
  • Open Windows Terminal (or VSCode Terminal etc) and select Git Bash
  • do task install
  • Do "Ctrl+C" before its completion
  • task: Signal received: "interrupt" will come up, however any further commands/keystrokes will not do anything at all

Video recording of issue: https://streamable.com/vzmgu0

Onlooker2186 avatar Mar 05 '24 07:03 Onlooker2186

do you try command: winpty task install instead of task install ? I can't test because git demo url return 404

trduclong avatar Apr 10 '24 15:04 trduclong