#include<vector>
#include<string>
+#include <cstdlib>
namespace CDMUtilities
{
return pathFixed;
}
+
+ int openTextEditor(const std::string& file)
+ {
+ std::string command = TEXT_EDITOR;
+
+ if(file != "")
+ command += " \"" + file + "\" &";
+
+ return system(command.c_str());
+ }
+
+ int openFileExplorer(const std::string& file)
+ {
+ std::string command = FILE_EXPLORER;
+
+ if(file != "")
+ command += " \"" + file + "\" &";
+
+ return system(command.c_str());
+ }
+
}