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

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

[Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscall


From: Michael Goffioul
Subject: [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst
Date: Tue, 26 Nov 2013 21:45:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36

Follow-up Comment #14, bug #40606 (project octave):

That behavior is in-line with CreateProcess documentation, it'll search in
that order: directory of the executable, current directory, windows system32
directory, windows directory, PATH.

You could avoid all the hassle by using absolute paths instead:


if ispc ()
  sort_bin = file_in_path (getenv ("PATH"), "sort.exe");
else
  sort_bin = "sort";
endif
if ! isempty (sort_bin)
  % check which "sort" flavor you're using
  ...
  % run the test
  ...
endif



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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