mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 13:16:56 -06:00
Aggregated common Octave argument list
This commit is contained in:
1 parent
329ec921e8
commit
31274dbb00
4 files changed
+33
-39
No files matched your search
@@ -106,13 +106,7 @@ void RimCommandExecuteScript::redo()
|
||||
QString octavePath = app->octavePath();
|
||||
if (!octavePath.isEmpty())
|
||||
{
|
||||
// http://www.gnu.org/software/octave/doc/interpreter/Command-Line-Options.html#Command-Line-Options
|
||||
|
||||
QStringList arguments;
|
||||
arguments.append("--path");
|
||||
arguments << QApplication::applicationDirPath();
|
||||
|
||||
arguments.append("-q");
|
||||
QStringList arguments = app->octaveArguments();
|
||||
|
||||
arguments.append("--eval");
|
||||
arguments << this->scriptText();
|
||||
|
||||
Reference in new issue
Block a user