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

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

[Octave-bug-tracker] [bug #56600] 'system' commnad returns pid for async


From: Richard
Subject: [Octave-bug-tracker] [bug #56600] 'system' commnad returns pid for async process, not on Matlab
Date: Wed, 10 Jul 2019 05:23:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

Follow-up Comment #6, bug #56600 (project octave):

To answer Mike, yes, the real bug/incompatibility is that "Octave's system
function does not return immediately when a command with an ampersand is
called and two return values are requested"

John, can you suggest how I might test for the questions you asked about
Matlab?

At the very least I know that Matlab launches the commands in a shell on
Linux, a shell with their screwed up environment variables in fact, which
sometimes screws up loading glibc. I actually wrote a wrapper for the matlab
system command which clears LD_LIBRARY_PATH and sources .bashrc again before
running the actual requested command to get around this problem. Perhaps this
gives some clues to what Matlab is doing?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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