Page MenuHomePhabricator

Use "sapi_windows_set_ctrl_handler()" under PHP 7.4 to handle ^C on Windows
Open, LowPublic


Currently, you can't "^C" arc under Windows. This seems to be hard/impossible to implement until PHP 7.4 provides sapi_windows_set_ctrl_handler().

A possible sub-issue is "^C" during a prompt, which will currently block inside fgets() because Windows doesn't support nonblocking stdin.