* @brief Executor::Executor executes external applications * @param parent */
| 20 | * @param parent |
| 21 | */ |
| 22 | Executor::Executor(QObject *parent) : QObject(parent), running(false) { |
| 23 | connect(&m_process, |
| 24 | static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>( |
| 25 | &QProcess::finished), |
| 26 | this, |
| 27 | static_cast<void (Executor::*)(int, QProcess::ExitStatus)>( |
| 28 | &Executor::finished)); |
| 29 | connect(&m_process, &QProcess::started, this, &Executor::starting); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * @brief Executor::startProcess starts the internal process, handling WSL |
nothing calls this directly
no outgoing calls
no test coverage detected