diff --git a/learn/test.cpp b/learn/test.cpp index e877c333..356bff0a 100644 --- a/learn/test.cpp +++ b/learn/test.cpp @@ -13,7 +13,7 @@ constexpr static auto XMAKE = __XMAKE__; static int process_run(const char *cmd, const char *proj, const char *log) { static const auto exercises = fs::absolute(fs::path(XMAKE) / "exercises"); - auto command = std::string("xmake ") + cmd + " -P " + exercises.string() + ' ' + proj; + auto command = std::string("xmake ") + cmd + " -P \"" + exercises.string() + "\" " + proj; if (log) { command += " >> "; command += log;