themill / wiz

Environment management framework
GNU Lesser General Public License v3.0
45 stars 4 forks source link

Wiz command not promoting return code #65

Closed blambright closed 3 years ago

blambright commented 3 years ago

The return code of the internal command does not get promoted to the top-level wiz command.

> wiz run python -c "raise RuntimeError('Failed')" && echo "Succeeded?"
Start command: python3.9 -c 'raise RuntimeError('"'"'Failed'"'"')'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: Failed
Succeeded?