Skip to content

Commit

Permalink
chore: patch for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoreira-valory committed Dec 20, 2024
1 parent bd51eec commit a3f8305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operate/services/deployment_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ 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"],
# TODO: Patch for Windows failing hash. Revert once it's fixed on OpenAutonomy / OpenAEA
args=[self._aea_bin, "run", "-s"] if platform.system() == "Windows" else [self._aea_bin, "run"],
cwd=working_dir / "agent",
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
Expand Down

0 comments on commit a3f8305

Please sign in to comment.