GeExecute 函数

详细描述

函数

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.

参数
[in] path The name of the file to execute.
返回
true if the file was executed, otherwise false .

◆  GeExecuteProgram()

Bool GeExecuteProgram ( const Filename program ,
const Filename file  
)

Executes an application.

注意
The application will be started asynchronously.
参数
[in] program The name of the application to execute.
[in] file The name of an optional file to open using the application.
返回
true if the application was executed, otherwise false .