Script execution configuration. More...
#include <python_runner.h>
Public Attributes | |
| QString | pythonExe = QStringLiteral("python3") |
| QString | workingDir |
| QStringList | extraEnv |
| int | timeoutMsec = -1 |
| bool | unbuffered = true |
| QString | venvDir |
| QString | packageDir |
| QString | requirementsFile |
Script execution configuration.
Configuration for a PythonRunner invocation.
Definition at line 84 of file python_runner.h.
| QStringList UTILSLIB::PythonRunnerConfig::extraEnv |
KEY=VALUE pairs appended to environment.
Definition at line 88 of file python_runner.h.
| QString UTILSLIB::PythonRunnerConfig::packageDir |
Directory containing pyproject.toml for pip install . (preferred).
Definition at line 92 of file python_runner.h.
| QString UTILSLIB::PythonRunnerConfig::pythonExe = QStringLiteral("python3") |
Python interpreter path or command.
Definition at line 86 of file python_runner.h.
| QString UTILSLIB::PythonRunnerConfig::requirementsFile |
Fallback: path to requirements.txt for pip install -r.
Definition at line 93 of file python_runner.h.
| int UTILSLIB::PythonRunnerConfig::timeoutMsec = -1 |
Wall-clock timeout (-1 = no limit).
Definition at line 89 of file python_runner.h.
| bool UTILSLIB::PythonRunnerConfig::unbuffered = true |
Pass -u to Python for unbuffered I/O.
Definition at line 90 of file python_runner.h.
| QString UTILSLIB::PythonRunnerConfig::venvDir |
Virtual-env directory (empty = no venv).
Definition at line 91 of file python_runner.h.
| QString UTILSLIB::PythonRunnerConfig::workingDir |
Working directory (empty = inherit).
Definition at line 87 of file python_runner.h.