Skip to content

Conversation

PhilReinhold
Copy link

@PhilReinhold PhilReinhold commented Dec 19, 2024

Currently, it appears if you pip install quarto-cli, then quarto does not set any error code other than 0.

It looks like this is because the python wrapper which launches the quarto executable does not forward the error codes from the subprocess. Adding a simple return seems to fix this for me.

I believe this would close quarto-dev/quarto-cli#11296

@mubarizafzal
Copy link

This is a great fix :) Would it be possible to have it reviewed and merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

quarto-cli returns 0 error code on error/failure
3 participants