v2.0.0
Loading...
Searching...
No Matches
python_runner.cpp File Reference

Implementation of UTILSLIB::PythonRunnerQProcess 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>
Include dependency graph for python_runner.cpp:

Go to the source code of this file.

Detailed Description

Implementation of UTILSLIB::PythonRunnerQProcess plumbing, line buffering and [progress] tag parsing.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

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.