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

killing a qgis process? #97

Open
hansvancalster opened this issue Mar 9, 2022 · 0 comments
Open

killing a qgis process? #97

hansvancalster opened this issue Mar 9, 2022 · 0 comments
Labels
feature a feature request or enhancement

Comments

@hansvancalster
Copy link

Hi!

Congratulations with this very nice package!
I'm a new user and have found it to be extremely useful.

I noticed that interrupting a process in RStudio (via Interrupt R process button) that was started with qgis_run_algorithm() does not kill the external GIS process (at least not with the saga function I called). With aid of @florisvdh I learned that the external process is executed with processx::run()

The help pages of processx has a section about killing a process. Maybe you can judge whether this contains information that would allow the sub-process to be killed when a user interrupts R? I also noticed
argument cleanup_tree which sounds helpful?

I'm on Windows 10.

@florisvdh florisvdh added feature a feature request or enhancement and removed enhancement labels Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants