create folder if it doesn't exist already

This commit is contained in:
Tim Felgentreff 2016-05-23 17:33:34 +02:00
parent fc2bc028d5
commit 85483ab306

View file

@ -504,6 +504,8 @@ static void RedirectOutput()
{
std::string path = Parameters::Instance.GetUserDirectory();
makedir(path.c_str(), 0777);
stdoutFile = path + "\\stdout.txt";
stderrFile = path + "\\stderr.txt";