FGenericPlatformMisc::OsExecute

Has the OS execute a command and path pair (such as launch a browser)

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Syntax

static bool OsExecute
(
    const TCHAR * CommandType,
    const TCHAR * Command,
    const TCHAR * CommandLine
)

Remarks

Has the OS execute a command and path pair (such as launch a browser)

Returns

whether the command was successful or not

Parameters

Parameter

Description

ComandType

OS hint as to the type of command

Command

the command to execute

CommandLine

the commands to pass to the executable

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