| 315 | return result; |
| 316 | } |
| 317 | Process::ProcessResult execCommand(const rdcstr &exe, const rdcstr &args, const rdcstr &workDir, |
| 318 | bool silent) |
| 319 | { |
| 320 | if(!silent) |
| 321 | RDCLOG("COMMAND: %s '%s'", exe.c_str(), args.c_str()); |
| 322 | |
| 323 | Process::ProcessResult result; |
| 324 | Process::LaunchProcess(exe, workDir, args, true, &result); |
| 325 | return result; |
| 326 | } |
| 327 | Process::ProcessResult adbExecCommand(const rdcstr &device, const rdcstr &args, |
| 328 | const rdcstr &workDir, bool silent) |
| 329 | { |