diff --git a/hermes_cli/gateway.py b/hermes_cli/gateway.py index 595330f0a206a..537c5a426e33d 100644 --- a/hermes_cli/gateway.py +++ b/hermes_cli/gateway.py @@ -6,6 +6,7 @@ import asyncio import os +import re import shutil import signal import subprocess @@ -59,7 +60,69 @@ def running(self) -> bool: def has_process_service_mismatch(self) -> bool: return self.service_installed and self.running and not self.service_running -def _get_service_pids() -> set: +# ``launchctl list