Skip to content

RFE: return exit status from gnuplot process #6

@djerius

Description

@djerius

First off, thanks for this module!

I use Gnuplot::Builder in analysis pipelines, and need to know if there was an error from gnuplot to abort the analysis.

However, it doesn't seem like there's a way to reliably determine if the gnuplot process exited with an error. The return values of the plot() and plot_with() routines are a mix of stdout and stderr, and some gnuplot commands will write to stdout, so a non-empty return from those routines doesn't provide a deterministic means of detecting an error.

It would be great if the exit value of the actual gnuplot process was available. However, it looks like that Gnuplot::Builder::Process::_wait_to_finish doesn't actually wait for the process to end, so it can't retrieve the exit value.

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