[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53938] windows octave doesnt wait for to --ev
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #53938] windows octave doesnt wait for to --eval statements to complete |
Date: |
Fri, 18 May 2018 10:05:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299 |
URL:
<http://savannah.gnu.org/bugs/?53938>
Summary: windows octave doesnt wait for to --eval statements
to complete
Project: GNU Octave
Submitted by: lostbard
Submitted on: Fri 18 May 2018 02:05:45 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: JohnD
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
When running a package install that relies on doing something with octave via
the $(OCTAVE) variable, the octave process doesnt wait for the actual
operation to finish before returing control.
Outside of the package build, running something like:
system('C:/Octave/OCTAVE~2.0/bin/octave-4.4.0.exe --no-gui --norc --eval
"sleep(10); a=1"')
the system call returns long before the eval statements were complete.
Perhaps a 'feature' of windows, however as mentioned above, in package install
scripts, if relying on doing something using the OCTAVE variable in the
makefile, it doesnt work.
Alternative is to use octave-cli, which does wait however that doesnt get
passed through the pkg build system as a variable.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53938>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53938] windows octave doesnt wait for to --eval statements to complete,
John Donoghue <=