Skip to content
Snippets Groups Projects
Commit 68b32957 authored by Philipp Schäfer's avatar Philipp Schäfer
Browse files

VAServerLauncher - Bugfix in py/python check

- check also works working with paths containing a space
parent d055d62c
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ bool FVAServerLauncher::StartVAServerLauncher()
//this checks whether a given command returns a result
FString TmpCmdResultFile = "tmpPyVersion.txt";
TmpCmdResultFile = FPaths::Combine(LauncherScriptDir, TmpCmdResultFile);
Command = Command + " >> " + TmpCmdResultFile;
Command = Command + " >> \"" + TmpCmdResultFile + "\"";
system(TCHAR_TO_ANSI(*Command));
FString Result;
FFileHelper::LoadFileToString(Result, *TmpCmdResultFile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment