Skip to content

Commit

Permalink
drawing: avoid deadlock when npx is asking for input
Browse files Browse the repository at this point in the history
  • Loading branch information
oharboe committed Feb 16, 2022
1 parent b7ffd94 commit 301670b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinxcontrib/wavedrom_render_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def render_wavedrom_cli(sphinx, node, outpath, bname, image_format):
process = subprocess.run(
generate_wavedrom_args(sphinx, input_json, output_svg),
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
stdin=subprocess.DEVNULL,
check=False)
except OSError as err:
if err.errno != ENOENT:
Expand Down

0 comments on commit 301670b

Please sign in to comment.