[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45231] The run command does not return back t
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory |
Date: |
Mon, 01 Jun 2015 22:17:04 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 |
URL:
<http://savannah.gnu.org/bugs/?45231>
Summary: The run command does not return back to the
originating directory
Project: GNU Octave
Submitted by: None
Submitted on: Mon 01 Jun 2015 22:17:02 UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Tasos Papastylianou
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0-rc4
Operating System: Microsoft Windows
_______________________________________________________
Details:
The 'run' command should enter a directory, run a script, then return to the
calling directory. This is what is described in the documentation, and what
would be compatible behaviour with the matlab equivalent.
Instead what happens is that it enters a directory, runs the script, and then
stays there.
Trivial example:
pwd
mkdir 'Child Directory';
fh = fopen('./Child Directory/childscript.m','w');
fprintf(fh,'fprintf(''Hello from childscript\\n'');\n');
fclose(fh);
run './Child Directory/childscript';
pwd
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45231>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory,
anonymous <=
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Tasos Papastylianou, 2015/06/01
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Mike Miller, 2015/06/01
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Tasos Papastylianou, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Mike Miller, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Rik, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, John W. Eaton, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Tasos Papastylianou, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Philip Nienhuis, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Mike Miller, 2015/06/02
- [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory, Rik, 2015/06/05