diff --git a/src/tox/execute/local_sub_process/__init__.py b/src/tox/execute/local_sub_process/__init__.py index e7ec71f23..aa1e9bc60 100644 --- a/src/tox/execute/local_sub_process/__init__.py +++ b/src/tox/execute/local_sub_process/__init__.py @@ -85,6 +85,7 @@ def interrupt(self) -> None: self._process.send_signal(SIG_INTERRUPT) if self.wait(self.options.interrupt_timeout) is None: # still alive -> TERM # pragma: no branch terminate_output = self.options.terminate_timeout + msg = "send signal %s to %d from %d with timeout %.2f" logging.warning(msg, f"SIGTERM({SIGTERM})", to_pid, host_pid, terminate_output) self._process.terminate() # Windows terminate is UNIX kill