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

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

[Octave-bug-tracker] [bug #43716] system function won't capture screen o


From: Xiangrui Li
Subject: [Octave-bug-tracker] [bug #43716] system function won't capture screen output for some external commnad
Date: Fri, 28 Nov 2014 21:22:52 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36

Follow-up Comment #2, bug #43716 (project octave):

The gzip version is 1.2.4 under Windows. The one under Linux comes with Ubuntu
14.04, and I don't know its version since I have no access to it now.

The "2>&1" trick works perfectly for me under Windows (Octave 3.6.4), and I
guess it will work under Linux for Octave 3.8.1. It also works fine for other
command. If a command does not exist, the error message goes to cmdout. 

Actually my current purpose is to check whether external compression command,
like pigz, gzip, exists. If yes, I would use them, since they are faster than
Matlab/Octave built-in gzip.m.

This trick won't affect Matlab behavior, so I have simple fix for now. Thank
you very much.
 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43716>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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