Skip to content

killing a qgis process? #97

Description

@hansvancalster

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions