[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37591] system with async option results in zo
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #37591] system with async option results in zombie processes |
Date: |
Fri, 22 Sep 2017 02:39:55 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #6, bug #37591 (project octave):
Actually, the shell "sh" probably is exiting with "-c" option. The following
terminal commands should illustrate:
sebald@ ~/octave/octave/octave $ sh
$ exit
sebald@ ~/octave/octave/octave $ sh -c "ls"
aclocal.m4
sebald@ ~/octave/octave/octave $
However, the execl documentation states:
"
Return Value
The exec() functions only return if an error has occurred. The return value is
-1, and errno is set to indicate the error.
"
So, I've placed ";exit 1" at the end of the command. That definitely causes
different behavior, with error messages, but it still doesn't get rid of the
forked processes.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37591>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Dan Sebald, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Mike Miller, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes,
Dan Sebald <=
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Dan Sebald, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Mike Miller, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, anonymous, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Dan Sebald, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Mike Miller, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Rik, 2017/09/22
- [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes, Dan Sebald, 2017/09/22