mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 08:31:16 -03:00
Apparently on macOS SIGTSTP (from control-Z) causes `read()` to return EINTR. This means `cat | cat` will exit as soon as it's backgrounded and brought back. So instead we use `sleep`, which won't read(), and therefore is impervious to these puny attacks. See discussion in #7447.