#7008 Python: Avoid terminating process as part of open/closeProject

When running scripts, a project file can be opened. If other operations are issued after, the process monitor window was disconnected from the script process, and no text output from the script was visible in the process monitor text window.

New behavior : Never terminate a process automatically. Never terminate process as part of open/close project. If a process is left unresponsive, the user is now responsible for manual termination of this process.
This commit is contained in:
Magne Sjaastad 2020-11-25 08:52:48 +01:00
parent 5db32823c5
commit b8dcabe023
2 changed files with 0 additions and 4 deletions

View File

@ -780,7 +780,6 @@ void RiaApplication::closeProject()
{
onProjectBeingClosed();
terminateProcess();
m_project->close();
m_commandQueue.clear();

View File

@ -213,8 +213,6 @@ void RiuMainWindow::initializeGuiNewProjectLoaded()
m_pdmUiPropertyView->currentObject()->uiCapability()->updateConnectedEditors();
}
m_processMonitor->slotClearTextEdit();
if ( statusBar() && !RiaRegressionTestRunner::instance()->isRunningRegressionTests() )
{
statusBar()->showMessage( "Ready ..." );
@ -259,7 +257,6 @@ void RiuMainWindow::cleanupGuiCaseClose()
projPropView->showProperties( nullptr );
}
}
m_processMonitor->startMonitorWorkProcess( nullptr );
RicEditSummaryPlotFeature* editSumCurves = dynamic_cast<RicEditSummaryPlotFeature*>(
caf::CmdFeatureManager::instance()->getCommandFeature( "RicEditSummaryPlotFeature" ) );