diff --git a/plugins/simulator/netlist_simulator_controller/src/simulation_process.cpp b/plugins/simulator/netlist_simulator_controller/src/simulation_process.cpp index 715c5b7c4df..0ce8485bb6e 100644 --- a/plugins/simulator/netlist_simulator_controller/src/simulation_process.cpp +++ b/plugins/simulator/netlist_simulator_controller/src/simulation_process.cpp @@ -253,7 +253,7 @@ namespace hal else { log_warning("simulation_plugin", "No QApplication running, event loop not entered, will poll for process to finish."); - if (!mProcess->waitForFinished()) return false; + if (!mProcess->waitForFinished(-1)) return false; handleReadyReadStandardError(); handleReadyReadStandardOutput(); }