Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None > Multiple Canned Responses Fixed in development Crash with no stack trace Already fixed in newer version Fixed in stable Bad description Bad description and crash Bad stack trace Obsolete version Duplicate and not fixed Duplicate and needs more info Duplicate and fixed Need info and old
Seems to be working for me now.
Closing as fixed.
I pushed that change to the default branch here: http://hg.savannah.gnu.org/hgweb/octave/rev/e1b0ed07895b
Marking as ready for test.
As discussed during last online maintainers meeting, the `octave` wrapper executable doesn't work correctly on Windows. The way a terminal waits for a child process on that platform basically makes it impossible to mimick the behavior of `exec` or `spawn` with `P_OVERLAY` on POSIX.
See also: https://wiki.octave.org/Online_Developer_Meeting_(2021-10-26)#spawn_with_P_OVERLAY_works_differently_on_POSIX_and_Windows
An idea was to get rid of the wrapper executable short term on that platform and replacing it by `octave-gui`. However, looking into it in a bit more detail, that makes building Octave on that platform awkward as long as we still need that wrapper executable on POSIX platforms. Instead, I opted for implementing `octave_execv_wrapper` on that platform with `spawn` and `P_WAIT`. That makes the behavior the user observes when calling the wrapper executable very similar to the one on POSIX platforms. At the same time, the build system can stay untouched.
I'm mainly opening this report to explain why I chose to use a different implementation than the one we talked about. I figured that would be better here than in a lengthy commit message.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9