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

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

[Octave-bug-tracker] [bug #44814] which and run fail on windows for new


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #44814] which and run fail on windows for new files
Date: Sun, 12 Apr 2015 08:33:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

URL:
  <http://savannah.gnu.org/bugs/?44814>

                 Summary: which and run fail on windows for new files
                 Project: GNU Octave
            Submitted by: oheim
            Submitted on: So 12 Apr 2015 10:33:17 CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Oliver Heimlich
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc3
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When I create new files with the integrated editor, I cannot run them by their
filename. I have to prefix a path.


>> dir hello.m
hello.m
>> which hello.m
>> run hello.m
no such file, ''
error: called from 'run' in file
S:\Programme\Octave-4.0.0-rc3\share\octave\4.0.0-rc3\m\miscellaneous\run.m
near line 84, column 5
>> hello
error: 'hello' undefined near line 1 column 1
>> run ./hello.m
Hello World


However, when I restart GNU Octave, any files that existed before the start of
GNU Octave can be found.


>> dir hello.m
hello.m
>> which hello.m
'hello.m' is the file C:\Users\Oliver\hello.m
>> run hello.m
Hello World
>> hello
Hello World


This also lets some Octave Forge package tests fail, which create and call
temporary m-files.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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