| 185 | } |
| 186 | |
| 187 | std::shared_ptr<ChildPipeIOStream> InvokeApp::invoke_bin(const std::string& extra) |
| 188 | { |
| 189 | LogFunc << VAR(extra); |
| 190 | |
| 191 | merge_replacement({ { "{BIN_WORKING_FILE}", tempname_ }, { "{BIN_EXTRA_PARAMS}", extra } }); |
| 192 | |
| 193 | auto argv_opt = invoke_bin_argv_.gen(argv_replace_); |
| 194 | if (!argv_opt) { |
| 195 | return nullptr; |
| 196 | } |
| 197 | |
| 198 | return std::make_shared<ChildPipeIOStream>(argv_opt->exec, argv_opt->args); |
| 199 | } |
| 200 | |
| 201 | std::shared_ptr<ChildPipeIOStream> InvokeApp::invoke_app(const std::string& package) |
| 202 | { |
no test coverage detected