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: InterpreterSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: PostponedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1