| 342 | std::cout << "workflow_step=" << id << "\n"; |
| 343 | std::cout << "batch_items=" << context.values[id + ".count"] << "\n"; |
| 344 | } |
| 345 | |
| 346 | std::string path_arg(const std::filesystem::path & path) { |
| 347 | return path.string(); |
| 348 | } |
| 349 | |
| 350 | std::string format_process_args(const std::string & program, const std::vector<std::string> & args) { |
| 351 | std::ostringstream out; |
| 352 | out << program; |
| 353 | for (const std::string & arg : args) { |
| 354 | out << ' ' << arg; |