Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
Inheritance Hierarchy
- FRunnable
- FInteractiveProcess
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/InteractiveProcess.h |
Include | #include "Misc/InteractiveProcess.h" |
Syntax
class FInteractiveProcess : public FRunnable
Remarks
Implements an external process that can be interacted.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FInteractiveProcess
(
const FString& InURL, |
Creates a new interactive process. | |
![]() |
FInteractiveProcess
(
const FString& InURL, |
Creates a new interactive process. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Cancel
(
bool InKillTree |
Cancels the process. |
![]() ![]() |
FTimespan | GetDuration () |
Gets the duration of time that the task has been running. |
![]() ![]() |
FProcHandle | Gets the Process Handle. The instance can be invalid if the process was not created. | |
![]() ![]() |
int | Returns the return code from the exited process | |
![]() ![]() |
bool | IsRunning () |
Checks whether the process is still running. |
![]() |
bool | Launch () |
Launches the process |
![]() |
FSimpleDelegate & | OnCanceled () |
Returns a delegate that is executed when the process has been canceled. |
![]() |
FOnInteractiveProcessCompleted & | OnCompleted () |
Returns a delegate that is executed when the interactive process completed. |
![]() |
FOnInteractiveProcessOutput & | OnOutput () |
Returns a delegate that is executed when a interactive process produces output. |
![]() |
void | ProcessOutput
(
const FString& Output |
Processes the given output string. |
![]() |
void | Takes the first message to be sent from MessagesToProcess, if there is one, and sends it to process | |
![]() |
void | SendWhenReady
(
const FString& Message |
Sends the string message when process is ready |
![]() |
void | SendWhenReady
(
const TArray< uint8 >& Data |
Sends the data message when process is ready |