Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorPythonScriptingLibrary
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorPythonScriptingLibrary.h |
| Include | #include "EditorPythonScriptingLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorPythonScriptingLibrary.cpp |
UFUNCTION&40;BlueprintPure, DisplayName&61;"Get Keep Python Script Alive",
Category&61;"Editor Scripting &124; Python"&41;
static bool GetKeepPythonScriptAlive&40;&41;
Remarks
Returns the value of the bKeepPythonScriptAlive flag.
If this is false (default), it will close the editor during the next tick (when executing a Python script in the editor-environment using the UnrealEditor-Cmd commandline tool). If this is true, it will not close the editor by itself, and you will have to close it manually, either by setting this value to false again, or by calling a function like unreal.SystemLibrary.quit_editor(). The current value of the bKeepPythonScriptAlive flag.