From c2f98327a6c77b4616a5b0eb42bdcf53612d4da0 Mon Sep 17 00:00:00 2001 From: jmoreira-valory Date: Fri, 20 Dec 2024 15:50:50 +0100 Subject: [PATCH] chore: fix -s placement --- operate/services/deployment_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operate/services/deployment_runner.py b/operate/services/deployment_runner.py index 6a0ba495..ee56a434 100644 --- a/operate/services/deployment_runner.py +++ b/operate/services/deployment_runner.py @@ -261,7 +261,7 @@ def _start_agent(self) -> None: env["PYTHONIOENCODING"] = "utf8" env = {**os.environ, **env} process = subprocess.Popen( # pylint: disable=consider-using-with # nosec - args=[self._aea_bin, "run", "-s"], # TODO: Patch for Windows failing hash + args=[self._aea_bin, "-s", "run"], # TODO: Patch for Windows failing hash cwd=working_dir / "agent", stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, @@ -345,7 +345,7 @@ def _start_agent(self) -> None: env["PYTHONIOENCODING"] = "utf8" process = subprocess.Popen( # pylint: disable=consider-using-with # nosec - args=[self._aea_bin, "run", "-s"], # TODO: Patch for Windows failing hash + args=[self._aea_bin, "-s", "run"], # TODO: Patch for Windows failing hash cwd=str(working_dir / "agent"), env={**os.environ, **env}, creationflags=(