Skip to content

Commit

Permalink
Fix glitch in command format (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliia-borysenkova authored Aug 24, 2022
1 parent 97396d5 commit 1146cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/o2tuner/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run_command(cmd, *, cwd="./", log_file=None, wait=True):
"""
if log_file is None:
log_file = "log.log"
cmd = f"{cmd}>{log_file} 2>&1"
cmd = f"{cmd} >{log_file} 2>&1"
print(f"Running command {cmd}")
proc = psutil.Popen(["/bin/bash", "-c", cmd], cwd=cwd)
if wait:
Expand Down

0 comments on commit 1146cc9

Please sign in to comment.