From aeb0bf700fb6bf45b87031c39c370ae38e10d2ee Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 30 Mar 2023 18:07:47 +0200 Subject: [PATCH] Fix old Platform proces api usage --- Source/Engine/Platform/Base/PlatformBase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Engine/Platform/Base/PlatformBase.cpp b/Source/Engine/Platform/Base/PlatformBase.cpp index 8649c4441..d6f0485b6 100644 --- a/Source/Engine/Platform/Base/PlatformBase.cpp +++ b/Source/Engine/Platform/Base/PlatformBase.cpp @@ -572,7 +572,7 @@ int32 PlatformBase::StartProcess(const StringView& filename, const StringView& a procSettings.WaitForEnd = waitForEnd; procSettings.LogOutput = waitForEnd; procSettings.ShellExecute = true; - return CreateProcess(procSettings); + return Platform::CreateProcess(procSettings); } int32 PlatformBase::RunProcess(const StringView& cmdLine, const StringView& workingDir, bool hiddenWindow) @@ -581,7 +581,7 @@ int32 PlatformBase::RunProcess(const StringView& cmdLine, const StringView& work procSettings.FileName = cmdLine; procSettings.WorkingDirectory = workingDir; procSettings.HiddenWindow = hiddenWindow; - return CreateProcess(procSettings); + return Platform::CreateProcess(procSettings); } int32 PlatformBase::RunProcess(const StringView& cmdLine, const StringView& workingDir, const Dictionary& environment, bool hiddenWindow) @@ -591,7 +591,7 @@ int32 PlatformBase::RunProcess(const StringView& cmdLine, const StringView& work procSettings.WorkingDirectory = workingDir; procSettings.Environment = environment; procSettings.HiddenWindow = hiddenWindow; - return CreateProcess(procSettings); + return Platform::CreateProcess(procSettings); } PRAGMA_ENABLE_DEPRECATION_WARNINGS