[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows |
Date: |
Mon, 19 Mar 2018 14:29:59 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #9, bug #53369 (project octave):
Hold on, I was only speculating in general about how useful octave.exe is, and
whether octave.bat is necessary for users to do open a command shell, cd to
Octave's bin directory, and type "octave". Unrelated to fixing this bug.
For this bug, I think all that is needed is to sprinkle some options in
octave.bat and octave.vbs. Something like this
diff --git a/installer-files/octave-firsttime.vbs
b/installer-files/octave-firsttime.vbs
--- a/installer-files/octave-firsttime.vbs
+++ b/installer-files/octave-firsttime.vbs
@@ -40,7 +40,7 @@ End If
startpath = wshShell.ExpandEnvironmentStrings("%UserProfile%")
wshShell.CurrentDirectory = startpath
-wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34), 0
+wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe --gui" & Chr(34), 0
' free our objects
Set fso = Nothing
diff --git a/installer-files/octave.bat b/installer-files/octave.bat
--- a/installer-files/octave.bat
+++ b/installer-files/octave.bat
@@ -43,7 +43,7 @@ if -%1-==-- goto noargs
Rem Start Octave (this detaches and immediately returns):
if %GUI_MODE%==1 (
-start octave-gui.exe %*
+start octave-gui.exe --gui %*
) else (
start octave-cli.exe %*
)
diff --git a/installer-files/octave.vbs b/installer-files/octave.vbs
--- a/installer-files/octave.vbs
+++ b/installer-files/octave.vbs
@@ -48,7 +48,7 @@ Next
' start octave-gui, either with console shown or hidden
If GUI_MODE = 1 then
- wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) &
AllArgs, 0
+ wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe --gui" & Chr(34) &
AllArgs, 0
Else
wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) &
AllArgs, 1
End If
Needs some thorough testing of all of the install options and all of the ways
that Octave can be launched via shortcut or command shell. Have you tested all
of the installed shortcuts yet to verify whether they do work correctly?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53369>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53369] (mxe-octave) Octave-5.4.0+ won't start in GUI mode on Windows, Philip Nienhuis, 2018/03/17
- [Octave-bug-tracker] [bug #53369] (mxe-octave) Octave-5.4.0+ won't start in GUI mode on Windows, Philip Nienhuis, 2018/03/17
- [Octave-bug-tracker] [bug #53369] (mxe-octave) After installation Octave-5.4.0+ runs as hidden process on Windows, Philip Nienhuis, 2018/03/17
- [Octave-bug-tracker] [bug #53369] (mxe-octave) After installation Octave-5.4.0+ runs as hidden process on Windows, Mike Miller, 2018/03/17
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ runs as hidden process on Windows, Mike Miller, 2018/03/17
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ runs as hidden process on Windows, Philip Nienhuis, 2018/03/18
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ runs as hidden process on Windows, Mike Miller, 2018/03/18
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Philip Nienhuis, 2018/03/18
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Mike Miller, 2018/03/18
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Philip Nienhuis, 2018/03/19
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows,
Mike Miller <=
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Mike Miller, 2018/03/20
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Philip Nienhuis, 2018/03/20
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Philip Nienhuis, 2018/03/21
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Rik, 2018/03/26
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Mike Miller, 2018/03/26
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, John Donoghue, 2018/03/27
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Rik, 2018/03/27
- [Octave-bug-tracker] [bug #53369] Octave 4.5.0+ launched from installer runs as hidden process on Windows, Rik, 2018/03/27