mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: add Python process environment to launch of script editor.
This commit is contained in:
parent
ec1cf83b4e
commit
712fd2a160
@ -61,6 +61,7 @@ void RicEditScriptFeature::onActionTriggered(bool isChecked)
|
||||
arguments << calcScript->absoluteFileName;
|
||||
|
||||
QProcess* myProcess = new QProcess(this);
|
||||
myProcess->setProcessEnvironment(app->pythonProcessEnvironment());
|
||||
myProcess->start(scriptEditor, arguments);
|
||||
|
||||
if (!myProcess->waitForStarted(1000))
|
||||
|
Loading…
Reference in New Issue
Block a user