Skip to content

Commit

Permalink
Print slightly nicer messages in script for debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzcf committed Oct 4, 2023
1 parent a97df4a commit 10aba0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extract_to_fstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def shell(command, expect=0, cwd=None, format_function_string=False):
if format_function_string:
command_formatted[4] = "'{}'".format(command_formatted[4])

print(" ".join(command_formatted))
print("Command: {}".format(" ".join(command_formatted)))
print("Directory: {}".format(cwd))

ret = subprocess.run(
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd
Expand Down

0 comments on commit 10aba0b

Please sign in to comment.