diff --git a/inkcpp_cl/test.cpp b/inkcpp_cl/test.cpp index 663d8795..d69e0973 100644 --- a/inkcpp_cl/test.cpp +++ b/inkcpp_cl/test.cpp @@ -21,7 +21,7 @@ void inklecate(const std::string& inkFilename, const std::string& jsonFilename) // Create command std::stringstream cmd; - cmd << inklecateCmd << " -o " << jsonFilename << " " << inkFilename; + cmd << inklecateCmd << " -o \"" << jsonFilename << "\" \"" << inkFilename << "\""; // Run int result = std::system(cmd.str().c_str());