| 76 | } |
| 77 | |
| 78 | void openhd::AsyncHandle::execute_command_async(std::string tag, |
| 79 | std::string command) { |
| 80 | auto runnable = [command]() { OHDUtil::run_command(command, {}, true); }; |
| 81 | execute_async(std::move(tag), runnable); |
| 82 | } |
| 83 | |
| 84 | bool openhd::AsyncHandle::terminate_when_done( |
| 85 | const openhd::AsyncHandle::RunningTask& task) { |
no outgoing calls
no test coverage detected