Replies: 1 comment 3 replies
-
Can you share a reproducible example of your script ? How are you terminating process ? I believe this Python question about managing subprocess. Without using Python closing ending I think That is just some memory from what I may have done in the past. unsure if this will solve. Having a reproducible example of your current scripting will help anyone help you here. @gordonwoodhull as we discussed reviving the package: running quarto preview from python feels something we should make easier with the quarto package: https://github.com/quarto-dev/quarto-python |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I start
quarto preview
programmatically with Python'ssubprocess.Popen
. How can I terminate the process?Apparently
quarto preview
spansdeno run
with a pid that differs from the one returned bysubprocess.Popen
: killing that process does not stop the previewer.As a work-around I am currently using grep to find the pid of the
deno
process. Is there a more elegant solution?Beta Was this translation helpful? Give feedback.
All reactions