Skip to content

Make sure R/Rscript exits #1

@sckott

Description

@sckott

The original code from JosiahParry https://gist.github.com/JosiahParry/94d5b72430c688ff742b7652e78c1343 (thank you 🙏) was not exiting the R subprocess - it just hung after completing running tests.

After some googling, added some bits and bobs after spawn and it now exits after completing https://github.com/sckott/rt-cli/blob/main/src/rscript.rs

Anything else to do on this front? Only tested on macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions