-
DescriptionWhen I use quarto preview to start a web server to preview the document I am writing, I have to shut it down by pressing Ctrl+c. This results in the following messages being printed to the terminal: I think Quarto could probably hide these warnings. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
While I understand the dislike of LLM generated content, I feel it's probably more productive to address the underline issue. This one really should be 2 minutes LLM coding fixable. |
Beta Was this translation helpful? Give feedback.
-
|
That is a fair point. I will try to fix this myself and test it on Linux and Windows. But I do hope the team will have time for reviewing the (possibly very simple) pull request. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the report. It took me some time to understand that this is specific to Quarto installed via the Python package ( The traceback comes from the Python wrapper — the The fix is straightforward: catch KeyboardInterrupt in the entry point and exit with code 130 (the conventional exit code for Ctrl+C). We'll get a fix into https://github.com/quarto-dev/quarto-cli-pypi. |
Beta Was this translation helpful? Give feedback.
PR at
This will be fixed at next release.