[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: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return |
Date: |
Sat, 21 May 2022 10:37:05 -0400 (EDT) |
Follow-up Comment #6, bug #50400 (project octave):
Maybe this is a suitable workaround:
Instead of calling exit(0); in the child process you could call exec("sh",
{"-c", "exit 0"});
At least it seems to avoid that octave hangs after calling exit().
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50400>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return,
anonymous <=