From c7ed9950527546b856fe768cf50e5a89398c0481 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Thu, 12 Dec 2019 18:06:43 +0000 Subject: [PATCH] quieter gnuplot call --- lib/Core/Plot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/Plot.cpp b/lib/Core/Plot.cpp index 6133241..1909603 100644 --- a/lib/Core/Plot.cpp +++ b/lib/Core/Plot.cpp @@ -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) {