Merge branch 'development' into Prism/RefactorProjectSettings
This commit is contained in:
@@ -420,12 +420,12 @@ namespace O3DE::ProjectManager
|
||||
return;
|
||||
}
|
||||
|
||||
auto cmdPath = AZ::IO::FixedMaxPathString::format(
|
||||
"%s --regset=\"/Amazon/AzCore/Bootstrap/project_path=%s\"", editorExecutablePath.c_str(),
|
||||
fixedProjectPath.c_str());
|
||||
|
||||
AzFramework::ProcessLauncher::ProcessLaunchInfo processLaunchInfo;
|
||||
processLaunchInfo.m_commandlineParameters = cmdPath;
|
||||
processLaunchInfo.m_commandlineParameters = AZStd::vector<AZStd::string>{
|
||||
editorExecutablePath.String(),
|
||||
AZStd::string::format(R"(--regset="/Amazon/AzCore/Bootstrap/project_path=%s")", fixedProjectPath.c_str())
|
||||
};
|
||||
;
|
||||
bool launchSucceeded = AzFramework::ProcessLauncher::LaunchUnwatchedProcess(processLaunchInfo);
|
||||
if (!launchSucceeded)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user