watchexec icon indicating copy to clipboard operation
watchexec copied to clipboard

Propagate SIGTSTP (Ctrl-Z) to children

Open raphCode opened this issue 2 years ago • 1 comments

This is basically #30 re-occuring, at least for me Ctrl Z did not stop the spawned process:

  • watchexes yes
  • Press Ctrl-Z
  • Observe how terminal is still spammed
  • Blindly type kill %% and press Enter (assuming bash)
  • spamming stops
  • [1]+ Done watchexec yes appears after the next Enter

OS: Arch Linux watchexec 1.20.5

raphCode avatar Sep 04 '22 21:09 raphCode

Same reason applies as #387: Handling signaling graceful in all cases is complex.

matu3ba avatar Sep 19 '22 08:09 matu3ba