octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return


From: J.J. Green
Subject: [Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return
Date: Mon, 1 Apr 2024 05:55:13 -0400 (EDT)

Follow-up Comment #7, bug #50400 (group octave):

I was caught by this and can confirm the the workaround of comment #6 does
work. 

A couple of comments

- Could "fork() is discouraged" be mentioned in the Octave documentation on
fork()? 

- Perhaps exposing _exit(2) which exits immediately (without running exit
handlers like exit(3)) could give an alternative fix, Ruby does this (see
https://apidock.com/ruby/v2_5_5/Kernel/exit%21) -- that's in C99 (as _Exit()).


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?50400>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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