Method

GioAppInfoget_commandline

since: 2.20

Declaration

const char*
g_app_info_get_commandline (
  GAppInfo* appinfo
)

Description

Gets the commandline with which the application will be started.

Available since: 2.20

Return value

Type: const char*

A string containing the appinfos commandline, or NULL if this information is not available.

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