Skip Menu |

This queue is for tickets about the Gnuplot-Simple CPAN distribution.

Report information
The Basics
Id: 102502
Status: resolved
Priority: 0/
Queue: Gnuplot-Simple

People
Owner: FINNPERL [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.001
Fixed in: (no value)



Subject: Use /usr/local/bin/gnuplot on non-linux systems
On non-linux systems (e.g. freebsd) 3rd-party software is typically installed in /usr/local/bin. So on these systems exec_commands() should try /usr/local/bin/gnuplot. Alternatively, maybe user's $ENV{PATH} should be searched for the gnuplot binary.
On Wed Mar 04 01:26:51 2015, SREZIC wrote: Show quoted text
> On non-linux systems (e.g. freebsd) 3rd-party software is typically > installed in /usr/local/bin. So on these systems exec_commands() > should try /usr/local/bin/gnuplot. Alternatively, maybe user's > $ENV{PATH} should be searched for the gnuplot binary.
Thank you for the feedback! I modified the code to use the shell command "which" to locate gnuplot. Then I can just invoke |gnuplot to avoid using the full path.