FCommandLineInfo GetPlatformAppAndArgs()

in Source/RiderSourceCodeAccess/Private/RiderSourceCodeAccessor.cpp [84:99]


FCommandLineInfo GetPlatformAppAndArgs(const FString& App, const FString& Args)
{
	FCommandLineInfo info;
	info.App = App;
    info.Args = Args;

#if PLATFORM_MAC
	if (ProcessIsTranslated() == 1)
	{
		info.App = TEXT("/usr/bin/arch");
		info.Args = FString::Printf(TEXT("-arm64 \"%s\" %s"), *App, *Args);
	}
#endif // PLATFORM_MAC

	return info;
}