2 ms·
Possibly tmux buffering output. Control C kills the process immediately, but there's still 15 seconds of output in the pipe.
by tedunangst 2y ago
Possibly tmux buffering output. Control C kills the process immediately, but there's still 15 seconds of output in the pipe.
- jrockway 2y agoYou motivated me to look into this more. I wrote a program that just floods stdout and prints what time it got SIGINT and then exits. Of course this program exits immediately when you press C-c. The program that I have the most trouble with is jlog (https://github.com/jrockway/json-logs https://github.com/jrockway/json-logs). I wrote it so this could very easily be my fault. (I think it's the colors and whatnot, which I have not explored yet.)