1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 21:25:36 +01:00

quieter gnuplot call

This commit is contained in:
Antonin Portelli 2019-12-12 18:06:43 +00:00
parent 1c55c93669
commit c7ed995052

View File

@ -658,7 +658,7 @@ void Plot::display(void)
LATAN_ERROR(System, "cannot find DISPLAY variable: is it set ?");
}
getProgramPath();
command = gnuplotPath_ + "/" + gnuplotBin_;
command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null";
gnuplotPipe = popen(command.c_str(), "w");
if (!gnuplotPipe)
{