[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invalid gnuplot_binary should fail gracefully
From: |
Tatsuro MATSUOKA |
Subject: |
Re: invalid gnuplot_binary should fail gracefully |
Date: |
Fri, 7 Aug 2015 16:46:22 +0900 (JST) |
----- Original Message -----
>From: Dmitri A. Sergatskov
>To: Octave Maintainers
>Date: 2015/8/7, Fri 02:17
>Subject: invalid gnuplot_binary should fail gracefully
>
>
>But it does not:
>
>octave:1> graphics_toolkit gnuplot
>octave:2> gnuplot_binary ("somejunk")
>octave:3> plot(1:3)
>sh: somejunk: command not found
>error: popen2: popen2 (child): unable to start process -- No such file or
>directory
>error: called from
> __gnuplot_open_stream__ at line 30 column 40
> __gnuplot_drawnow__ at line 72 column 19
>error: 'unset' undefined near line 1 column 1
>warning: broken pipe
>
>
>At this moment I can kill octave only with kill -9. Ctrl-C gets ignored.
>
>
>Dmitri.
On octave 4.0.0 on windows and Cygwin, there seem to be no problem:
octave:1> graphics_toolkit gnuplot
octave:2> gnuplot_binary ("somejunk")
octave:3> plot(1:3)
error: popen2: process creation failed
error: called from
__gnuplot_open_stream__ at line 30 column 40
__gnuplot_drawnow__ at line 72 column 19
octave:4>
After error messages, octave prompt represented normally.
Tatsuro