Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return exit code from quarto.run #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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
1 participant