[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63256] system async zombies
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #63256] system async zombies |
Date: |
Sat, 22 Oct 2022 16:53:42 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63256>
Summary: system async zombies
Project: GNU Octave
Submitter: None
Submitted: Sat 22 Oct 2022 08:53:41 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 22 Oct 2022 08:53:41 PM UTC By: Anonymous
There is a problem with the 'async' option for the system command.
for ii = 1:1000
system ('ls', false, 'async');
end
The code above causes 1000 zombie processes to hang around after they finish.
They are called "<defunct>" in ps or htop. They only disappear when Octave
itself is exited.
The code below makes them finish properly and not hang around:
for ii = 1:1000
system ('ls &');
end
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63256>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63256] system async zombies,
anonymous <=