Method

GioAppInfoget_executable

Declaration

const char*
g_app_info_get_executable (
  GAppInfo* appinfo
)

Description

Gets the executable’s name for the installed application.

This is intended to be used for debugging or labelling what program is going to be run. To launch the executable, use g_app_info_launch() and related functions, rather than spawning the return value from this function.

Return value

Type: const char*

A string containing the appinfos application binaries name.

The data is owned by the instance.
The value is a file system path, using the OS encoding.