| 307 | } |
| 308 | |
| 309 | static std::string cmdFileName(std::string f) |
| 310 | { |
| 311 | f = Path::toNativeSeparators(std::move(f)); |
| 312 | if (f.find(' ') != std::string::npos) |
| 313 | return "\"" + f + "\""; |
| 314 | return f; |
| 315 | } |
| 316 | |
| 317 | static std::vector<std::string> split(const std::string &str, const std::string &sep=" ") |
| 318 | { |
no test coverage detected