Commit ac40ec64046c4f18b5fd5be37827ece9ae7b0c90
- Diff rendering mode:
- inline
- side by side
|   | |||
| 79 | 79 | ||
| 80 | 80 | void WindowsInjector::attachToSpawnedProcess() | |
| 81 | 81 | { | |
| 82 | attach(m_process->pid()); | ||
| 82 | if(m_process->state() == QProcess::NotRunning) | ||
| 83 | { | ||
| 84 | // TODO: Propogate to UI | ||
| 85 | qDebug() << "Failed to start process:" << m_process->error(); | ||
| 86 | } | ||
| 87 | else | ||
| 88 | { | ||
| 89 | attach(m_process->pid()); | ||
| 90 | } | ||
| 83 | 91 | } | |
| 84 | 92 | ||
| 85 | 93 | void WindowsInjector::attach(Q_PID processId) |

