Implementation of UTILSLIB::PythonRunner — QProcess plumbing, line buffering and [progress] tag parsing.
More...
#include "python_runner.h"#include <QProcess>#include <QDebug>#include <QRegularExpression>#include <QDir>#include <QFile>#include <QFileInfo>#include <QElapsedTimer>
Go to the source code of this file.
Implementation of UTILSLIB::PythonRunner — QProcess plumbing, line buffering and [progress] tag parsing.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Output from the child interpreter is read on every readyRead signal, split on \n , and dispatched synchronously to the caller's line callback so progress UIs update in real time. The runner deliberately keeps no static state — several instances can run concurrently in different threads (each owning its own QProcess) without stepping on one another.
Definition in file python_runner.cpp.