| 192 | } |
| 193 | |
| 194 | ResultDetails RemoteHost::Launch() |
| 195 | { |
| 196 | if(m_protocol) |
| 197 | // this is blocking |
| 198 | return m_protocol->StartRemoteServer(m_hostname); |
| 199 | |
| 200 | rdcstr run = RunCommand(); |
| 201 | |
| 202 | RDProcess process; |
| 203 | process.start(run); |
| 204 | process.waitForFinished(2000); |
| 205 | process.detach(); |
| 206 | |
| 207 | return {ResultCode::Succeeded}; |
| 208 | } |
| 209 | |
| 210 | bool RemoteHost::IsServerRunning() const |
| 211 | { |
no test coverage detected