Run get_python script when Python fails to load (#4482)
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com>
This commit is contained in:
@@ -35,15 +35,39 @@ namespace O3DE::ProjectManager
|
||||
|
||||
ProjectManagerScreen GetProjectManagerScreen(const QString& screen);
|
||||
|
||||
/**
|
||||
* Execute a console command and return the result.
|
||||
* @param cmd the command
|
||||
* @param arguments the command argument list
|
||||
* @param processEnv the environment
|
||||
* @param commandTimeoutSeconds the amount of time in seconds to let the command run before terminating it
|
||||
* @return AZ::Outcome with the command result on success
|
||||
*/
|
||||
AZ::Outcome<QString, QString> ExecuteCommandResult(
|
||||
const QString& cmd,
|
||||
const QStringList& arguments,
|
||||
const QProcessEnvironment& processEnv,
|
||||
int commandTimeoutSeconds = ProjectCommandLineTimeoutSeconds);
|
||||
|
||||
/**
|
||||
* Execute a console command, display the progress in a modal dialog and return the result.
|
||||
* @param cmd the command
|
||||
* @param arguments the command argument list
|
||||
* @param processEnv the environment
|
||||
* @param commandTimeoutSeconds the amount of time in seconds to let the command run before terminating it
|
||||
* @return AZ::Outcome with the command result on success
|
||||
*/
|
||||
AZ::Outcome<QString, QString> ExecuteCommandResultModalDialog(
|
||||
const QString& cmd,
|
||||
const QStringList& arguments,
|
||||
const QProcessEnvironment& processEnv,
|
||||
const QString& title);
|
||||
|
||||
AZ::Outcome<QProcessEnvironment, QString> GetCommandLineProcessEnvironment();
|
||||
AZ::Outcome<QString, QString> GetProjectBuildPath(const QString& projectPath);
|
||||
AZ::Outcome<void, QString> OpenCMakeGUI(const QString& projectPath);
|
||||
AZ::Outcome<QString, QString> RunGetPythonScript(const QString& enginePath);
|
||||
|
||||
|
||||
} // namespace ProjectUtils
|
||||
} // namespace O3DE::ProjectManager
|
||||
|
||||
Reference in New Issue
Block a user