diff --git a/Source/VAPlugin/Private/VAServerLauncher.cpp b/Source/VAPlugin/Private/VAServerLauncher.cpp index 5c69a805204018a566500c9a7a0eaad5ccf6db30..38a8abeea4d600ad2e0d77ba93e4614298d8be67 100644 --- a/Source/VAPlugin/Private/VAServerLauncher.cpp +++ b/Source/VAPlugin/Private/VAServerLauncher.cpp @@ -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);