help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executable Octave script: odd behavior when called with option ‘-dis


From: Mike Miller
Subject: Re: Executable Octave script: odd behavior when called with option ‘-display’
Date: Sat, 15 Sep 2018 10:01:41 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Sep 14, 2018 at 20:47:16 +0200, Bernd Lütkenhöner wrote:
> However, no output appears if
> I call the script as
> 
> ./hello -display xyz

Octave is a Qt application. As such, certain options are handled by Qt,
for example -display, -geometry, -platform, -reverse, -session, and
-style.

So the above is interpreted as a standard Qt -display option, with the
same meaning as setting the DISPLAY environment variable. Since a
display named 'xyz' can't be opened, it looks like Octave silently
refuses to start.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]