def _process_kill(self):
        """Kill the fake executable process if it's still running."""
        if self._process.poll() is None:  # pragma: no cover
            self._process.kill()
            self._process.wait(timeout=5)