diff --git a/hermes_cli/gateway.py b/hermes_cli/gateway.py index 3b828fecf5..1616c1b36f 100644 --- a/hermes_cli/gateway.py +++ b/hermes_cli/gateway.py @@ -6,6 +6,7 @@ Handles: hermes gateway [run|start|stop|restart|status|install|uninstall|setup] import asyncio import os +import re import shutil import signal import subprocess @@ -59,7 +60,69 @@ class GatewayRuntimeSnapshot: 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