Skip to content

Question: closing session and/or phantomjs process? #53

@AliciaSchep

Description

@AliciaSchep

If calling this package in a function (e.g. run_phantomjs and then starting a session ses <- Session$new(port = pjs$port) and doing some things in the session), should the session and/or phantomjs process be closed in some way? It looks like the session has a delete method which could be called. Is there something that should be done to terminate the phantomjs process? The README mentions 'It returns a process object that you can terminate manually'. What would be the recommended way to terminate that process from R? And would it be recommended for a function that calls 'run_phantomjs' to do that termination? Thanks for any guidance on this question(s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions