We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47363b5 commit e397d22Copy full SHA for e397d22
mesonpy/__init__.py
@@ -649,7 +649,9 @@ def _get_config_key(self, key: str) -> Any:
649
def _proc(self, *args: str) -> None:
650
"""Invoke a subprocess."""
651
print('{cyan}{bold}+ {}{reset}'.format(' '.join(args), **_STYLES))
652
- subprocess.check_call(list(args), env=self._env)
+ r = subprocess.run(list(args), env=self._env)
653
+ if r.returncode != 0:
654
+ raise SystemExit(r.returncode)
655
656
def _meson(self, *args: str) -> None:
657
"""Invoke Meson."""
0 commit comments