IPythonScriptPlugin::ExecPythonCommand

Execute the given Python command.

Windows
MacOS
Linux

References

Module

PythonScriptPlugin

Header

/Engine/Plugins/Experimental/PythonScriptPlugin/Source/PythonScriptPlugin/Public/IPythonScriptPlugin.h

Include

#include "IPythonScriptPlugin.h"

Syntax

bool ExecPythonCommand
(
    const TCHAR * InPythonCommand
)

Remarks

Execute the given Python command. This may be literal Python code, or a file (with optional arguments) that you want to run.

Returns

true if the command ran successfully, false if there were errors (the output log will show the errors).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss