| 156 | |
| 157 | |
| 158 | void ScriptAppJob::start() |
| 159 | { |
| 160 | qCDebug(PLUGIN_EXECUTESCRIPT) << "launching?" << proc; |
| 161 | if( proc ) |
| 162 | { |
| 163 | Q_ASSERT(error() == NoError); |
| 164 | startOutput(); |
| 165 | appendLine( i18n("Starting: %1", proc->program().join(QLatin1Char( ' ' ) ) ) ); |
| 166 | ICore::self()->runtimeController()->currentRuntime()->startProcess(proc); |
| 167 | } else |
| 168 | { |
| 169 | // No process means we've returned early on from the constructor, some bad error happened |
| 170 | Q_ASSERT(error() != NoError); |
| 171 | emitResult(); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | bool ScriptAppJob::doKill() |
| 176 | { |
nothing calls this directly
no test coverage detected