bugGNU Octave - Bugs: bug #49589, octave --eval starts slightly...


bug #49589: octave --eval starts slightly differently from octave --no-gui --eval

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Fri 11 Nov 2016 08:26:21 PM UTC  
Category:  Interpreter Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 11 Nov 2016 08:26:21 PM UTC, original submission:

This has to do with the controlling terminal and the way the octave executable is or is not detached from the terminal.

Compare the following

Obvious workaround is to always run batch scripts with the --no-gui option, but I think (maybe it's just me) that it would be nice if Octave knew that if it is not running in interactive mode, it should not fork and detach from the controlling terminal.

I am sure I have seen some odd behavior with signals or job control relating to this, which is when I first noticed it and started running all batch command tests with --no-gui.

I don't see an easy way to do this other than replicating the entire command line processing logic from the full octave program into the octave shim wrapper, so that it knows whether octave-gui will be running the GUI or not.

Mike Miller <mtmiller>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3