leonardt / pycoreir

Python bindings for coreir
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Use check_call to avoid silent errors #145

Closed leonardt closed 4 years ago

leonardt commented 4 years ago

Switches the binary wrapper script to use check_call so errors invoking coreir in the subprocess don't fail silently (raises an exception in stead). See https://docs.python.org/3/library/subprocess.html#subprocess.check_call