Implement Platform::CreateProcess with SDL backend
Supports handling process standard output and standard error streams separately in realtime.
This commit is contained in:
@@ -437,6 +437,7 @@ Window* MacPlatform::CreateWindow(const CreateWindowSettings& settings)
|
||||
|
||||
#endif
|
||||
|
||||
#if !PLATFORM_SDL
|
||||
int32 MacPlatform::CreateProcess(CreateProcessSettings& settings)
|
||||
{
|
||||
LOG(Info, "Command: {0} {1}", settings.FileName, settings.Arguments);
|
||||
@@ -576,5 +577,6 @@ int32 MacPlatform::CreateProcess(CreateProcessSettings& settings)
|
||||
|
||||
return returnCode;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user