1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00: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 ?"); LATAN_ERROR(System, "cannot find DISPLAY variable: is it set ?");
} }
getProgramPath(); getProgramPath();
command = gnuplotPath_ + "/" + gnuplotBin_; command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null";
gnuplotPipe = popen(command.c_str(), "w"); gnuplotPipe = popen(command.c_str(), "w");
if (!gnuplotPipe) if (!gnuplotPipe)
{ {