Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Dec 30, 2024
1 parent aef58c7 commit 257ea05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions util/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ def subprocess_run(
check_returncode: bool = True,
verbose: bool = True,
) -> subprocess.Popen[str]:
"""
We use this instead of subprocess.run() because of the cwd option.
"""
cwd_msg = f"(cwd: {cwd if cwd is not None else os.getcwd()})"

if verbose:
Expand Down

0 comments on commit 257ea05

Please sign in to comment.