[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Executable Octave script: odd behavior when called with option ‘-dis
From: |
Bernd Lütkenhöner |
Subject: |
Re: Executable Octave script: odd behavior when called with option ‘-display’ |
Date: |
Sat, 15 Sep 2018 19:05:06 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Am 15.09.2018 um 19:01 schrieb Mike Miller:
> 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.
>
This makes sense. Thank you for your explanation, Mike. I will simple avoid the
problem by naming my option '-disp'.
Bernd