Bug 1920039 - Do not set SIGKILL signal on Windows since it's not available r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D223643
This commit is contained in:
@@ -180,8 +180,9 @@ class ProcessExecutionMixin(LoggingMixin):
|
||||
if sig is None:
|
||||
sig = signal.SIGINT
|
||||
elif sig == signal.SIGINT:
|
||||
# If we've already tried SIGINT, escalate.
|
||||
sig = signal.SIGKILL
|
||||
# If we've already tried SIGINT, escalate (if possible).
|
||||
# Note: SIGKILL is not available on Windows.
|
||||
getattr(signal, "SIGKILL", sig)
|
||||
|
||||
if ensure_exit_code is False:
|
||||
return status
|
||||
|
||||
Reference in New Issue
Block a user