FGenericPlatformProcess::LaunchFileInDefaultExternalApplication

Attempt to launch the provided file name in its default external application.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static void LaunchFileInDefaultExternalApplication
(
    const TCHAR * FileName,
    const TCHAR * Parms,
    ELaunchVerb::Type Verb
)

Remarks

Attempt to launch the provided file name in its default external application. Similar to FPlatformProcess::LaunchURL, with the exception that if a default application isn't found for the file, the user will be prompted with an "Open With..." dialog.

Parameters

Parameter

Description

FileName

Name of the file to attempt to launch in its default external application

Parms

Optional parameters to the default application

Verb

Optional verb to use when opening the file, if it applies for the platform.

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