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

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

[Octave-bug-tracker] [bug #44007] tar %!xtest fails on Windows due to fi


From: Rik
Subject: [Octave-bug-tracker] [bug #44007] tar %!xtest fails on Windows due to filesep issues and tar.exe issues
Date: Tue, 10 Mar 2015 21:22:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #31, bug #44007 (project octave):

I would really prefer if we could get the utilities to behave the same way
under Linux and MinGW.  Otherwise I foresee a bunch of ispc () checks all
throughout the code.

However, just a check, I used


 cmd = sprintf ("tar cvf %s -C %s %s 2<&1",
                          tarfile, rootdir, sprintf (" %s", files{:}));


which uses the shell to send STDERR to STDOUT which then can be captured by
the system() call in Octave.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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