You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b4fabc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(client): spawn workers without a shell, so force actually kills them
stop(force=True) killed the wrong process. Direct subprocess workers were
spawned with shell=True, which makes proc the *shell*: SIGKILL took out
the shell and left the worker holding the pipe, so a forced stop still
waited the full length of whatever the worker was doing (CI: 5.18s
against a 5s sleep on Linux). On Windows it killed cmd.exe and reported
exit code 1 while the worker ran on.
Split the command ourselves instead, as the pooled and catalog paths
already did -- proc is then the worker on every platform. The two
broken-pipe tests that relied on the shell's `exit` builtin now spawn a
real process; the two catalog-path ones did too, though those had been
passing for the wrong reason (that path never used a shell).
Also assert the killed exit code per-platform: Windows has no signals,
so TerminateProcess sets an ordinary non-zero code, not a negative one.
Fix two docstring/doc cross-references that mkdocs --strict rejected.
0 commit comments