GeExecute

Detailed Description

Functions

Bool GeExecuteFile (const Filename &path)
 
Bool GeExecuteProgram (const Filename &program, const Filename &file)
 

Function Documentation

◆ GeExecuteFile()

Bool GeExecuteFile ( const Filename path)

Executes a file.
Open the file as if the user double-clicked it; the default application for this file will open.

Parameters
[in]pathThe name of the file to execute.
Returns
true if the file was executed, otherwise false.

◆ GeExecuteProgram()

Bool GeExecuteProgram ( const Filename program,
const Filename file 
)

Executes an application.

Note
The application will be started asynchronously.
Parameters
[in]programThe name of the application to execute.
[in]fileThe name of an optional file to open using the application.
Returns
true if the application was executed, otherwise false.