Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Oct 27, 2024
1 parent 3984dcb commit 900a6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pioreactorui/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def pio_run(*args: str, env: dict[str, str] = {}) -> bool:
command = ("nohup", PIO_EXECUTABLE, "run") + args
env = {k: v for k, v in (env or {}).items() if k in ALLOWED_ENV}
logger.info(f"Executing `{join(command)}`, {env=}")
Popen(command, env=dict(os.environ) | env, stdout=DEVNULL, stderr=STDOUT)
run(command, env=dict(os.environ) | env, stdout=DEVNULL, stderr=STDOUT)
return True


Expand Down

0 comments on commit 900a6b5

Please sign in to comment.