X-Received: by 10.129.123.214 with SMTP id w205mr6758768ywc.11.1440958968000; Sun, 30 Aug 2015 11:22:48 -0700 (PDT) X-Received: by 10.182.213.74 with SMTP id nq10mr283298obc.17.1440958967894; Sun, 30 Aug 2015 11:22:47 -0700 (PDT) Path: csiph.com!xmission!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!40no104732qgj.1!news-out.google.com!nt1ni19502igb.0!nntp.google.com!u8no840510igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Sun, 30 Aug 2015 11:22:47 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.34.198.16; posting-account=eGUhiwoAAAB0896I4tbUnbYKoe9Gm4ht NNTP-Posting-Host: 192.34.198.16 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Suppress Gnuplot warning messages in batch mode From: xmeng@pinterest.com Injection-Date: Sun, 30 Aug 2015 18:22:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1315 X-Received-Body-CRC: 809628338 Xref: csiph.com comp.graphics.apps.gnuplot:3063 I wrote a Python program, which calls Gnuplot to export image files. For every plot, my stderr got warning messages such as gnuplot: unable to open display '' gnuplot: X11 aborted. I knew I can redirect these to /dev/null, but I do need my stderr for other purposes. I wonder if there's an Gnuplot option to turn it off.