30 emit
finished(ok, QString::fromStdString(err));
Worker object that runs the blocking python(...) call off the GUI thread.
void finished(bool ok, QString errorMsg)
Emitted when the computation completes.
void run()
Call this slot to start the computation (meant to be invoked from the worker thread).
PythonRunner(QStringList args, QObject *parent=nullptr)
bool python(QStringList args, std::string &error_msg)
Launch a Python subprocess and wait for it using a non-blocking UI loop.
Utilities to interact with Python subprocesses from the Tympan application.