Use "terminal driver" instead of "shell" in SIGINT docs (#13787)

Addressing the comment at
https://github.com/astral-sh/uv/issues/12108#issuecomment-2925703719
This commit is contained in:
Zanie Blue
2025-06-03 17:07:03 -05:00
committed by GitHub
parent f5c3601445
commit 3ca8d074a4
2 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -91,9 +91,9 @@ uv does not cede control of the process to the spawned command in order to provi
messages on failure. Consequently, uv is responsible for forwarding some signals to the child
process the requested command runs in.
On Unix systems, uv will forward SIGINT and SIGTERM to the child process. Since shells send SIGINT
to the foreground process group on Ctrl-C, uv will only forward a SIGINT to the child process if it
is seen more than once or the child process group differs from uv's.
On Unix systems, uv will forward SIGINT and SIGTERM to the child process. Since terminals send
SIGINT to the foreground process group on Ctrl-C, uv will only forward a SIGINT to the child process
if it is sent more than once or the child process group differs from uv's.
On Windows, these concepts do not apply and uv ignores Ctrl-C events, deferring handling to the
child process so it can exit cleanly.