Skip to content

Commit

Permalink
redirect docker stderr to /dev/null to prevent bad mkchain outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Feb 20, 2024
1 parent 02f5b5b commit f32cf5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkchain/tqchain/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run_docker(image, entrypoint, *args):
pull_docker_image(image)
return subprocess.check_output(
"docker run --entrypoint %s --rm %s %s" % (entrypoint, image, " ".join(args)),
stderr=subprocess.STDOUT,
stderr=subprocess.DEVNULL,
shell=True,
)

Expand Down

0 comments on commit f32cf5b

Please sign in to comment.