| 402 | } |
| 403 | |
| 404 | ExecuteResult ReplayManager::ExecuteAndInject(const rdcstr &exe, const rdcstr &workingDir, |
| 405 | const rdcstr &cmdLine, |
| 406 | const rdcarray<EnvironmentModification> &env, |
| 407 | const rdcstr &capturefile, CaptureOptions opts) |
| 408 | { |
| 409 | ExecuteResult ret; |
| 410 | |
| 411 | if(m_Remote) |
| 412 | { |
| 413 | QMutexLocker autolock(&m_RemoteLock); |
| 414 | ret = m_Remote->ExecuteAndInject(exe, workingDir, cmdLine, env, opts); |
| 415 | } |
| 416 | else |
| 417 | { |
| 418 | ret = RENDERDOC_ExecuteAndInject(exe, workingDir, cmdLine, env, capturefile, opts, false); |
| 419 | } |
| 420 | |
| 421 | return ret; |
| 422 | } |
| 423 | |
| 424 | void ReplayManager::PushInvoke(ReplayManager::InvokeHandle *cmd) |
| 425 | { |
no test coverage detected