Mitchell Hashimoto
8475768ad1
termio/exec: if pty fd HUP, end read thread
...
Fixes #4884
When our command exits, it will close the pty slave fd. This will
trigger a HUP on our poll. Previously, we only checked for IN. When a fd
is closed, IN triggers forever which would leave to an infinite loop and
100% CPU.
Now, detect the HUP and exit the read thread.
2025-01-24 09:39:22 -08:00
..
2025-01-23 16:29:07 -08:00
2024-03-26 16:14:25 -07:00
2025-01-23 19:38:13 -08:00
2025-01-23 15:58:33 -08:00
2025-01-23 15:41:28 -08:00
2025-01-02 13:32:45 -08:00
2024-12-03 15:53:12 -08:00
2025-01-13 13:50:29 -08:00
2025-01-19 14:49:59 -08:00
2025-01-05 21:58:45 +01:00
2025-01-23 22:12:58 -08:00
2025-01-23 20:06:53 -05:00
2025-01-23 16:17:51 -08:00
2024-08-16 10:49:37 -07:00
2025-01-18 22:47:18 +09:00
2025-01-20 10:23:41 -08:00
2024-06-24 15:16:24 -07:00
2025-01-24 09:39:22 -08:00
2025-01-20 18:30:22 -08:00
2025-01-04 14:07:47 -08:00
2024-09-26 22:00:11 -07:00
2025-01-07 19:47:43 -08:00
2024-10-18 08:11:11 -07:00
2025-01-02 15:05:10 -08:00
2024-12-28 19:16:36 -08:00
2024-06-10 13:58:35 -04:00
2025-01-02 15:05:10 -08:00
2024-02-09 20:05:11 +01:00
2024-12-11 10:27:08 -08:00
2024-08-16 15:00:07 -07:00
2025-01-01 12:34:55 -05:00
2024-08-16 14:35:10 -07:00
2025-01-23 15:58:33 -08:00
2022-08-18 11:42:32 -07:00
2025-01-23 22:12:58 -08:00
2024-08-11 15:26:36 -07:00
2024-11-14 12:36:21 -08:00
2024-10-30 20:47:24 -04:00
2025-01-22 02:49:37 +08:00
2024-08-16 10:36:10 -07:00