[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58070] [octave forge] (symbolic) doesn't clos
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58070] [octave forge] (symbolic) doesn't close Python subprocess on "clear all" |
Date: |
Fri, 8 May 2020 18:05:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Follow-up Comment #10, bug #58070 (project octave):
I don't have a github account. So I hope it is ok to comment here.
If you'd like the cleanup to "return" something, you could use a local
function where variables share scope.
With the attached example, I see the following:
>> test_cleanup (true)
ans = 1
>> test_cleanup (false)
ans = 2
I tried with Octave 5.2. Not sure if other versions behaved the same.
(file #49045)
_______________________________________________________
Additional Item Attachment:
File name: test_cleanup.m Size:0 KB
<https://savannah.gnu.org/file/test_cleanup.m?file_id=49045>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58070>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/