[Top][All Lists]

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

[Octave-bug-tracker] [bug #44712] system() don't capture STDERR screen o

From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #44712] system() don't capture STDERR screen output
Date: Mon, 25 Mar 2019 22:13:32 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #7, bug #44712 (project octave):

> Why don't we go with a user preference variable?

That sounds less than ideal. That's a global setting. And it's really the
immediate caller in most cases that's going to know whether it wants stderr
mixed in with stdout, because it's the one that's going to be doing parsing or
processing or passing it on to some other context. An option to system() or a
different system2() function seems like a better design; that way callers can
individually choose which behavior they want.


Reply to this item at:


  Message sent via Savannah

reply via email to

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