![]() |
![]() |
![]() |
libxfcegui4 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libxfcegui4/libxfcegui4.h> gboolean xfce_exec (const char *cmd
,gboolean in_terminal
,gboolean use_sn
,GError **error
); gboolean xfce_exec_with_envp (const char *cmd
,gboolean in_terminal
,gboolean use_sn
,GError **error
,char **envp
);
The xfce-exec module provides functions to execute other applications from within Xfce applications using Startup Notification or executing applications that use the CLI (command line interface) in an X terminal.
gboolean xfce_exec (const char *cmd
,gboolean in_terminal
,gboolean use_sn
,GError **error
);
Use xfce_exec_with_envp if you want to specify the environment.
|
command line to run |
|
whether to run cmd in a terminal
|
|
whether to use startup notification |
|
location for a GError or NULL |
Returns : |
TRUE on success, FALSE on failure. |
gboolean xfce_exec_with_envp (const char *cmd
,gboolean in_terminal
,gboolean use_sn
,GError **error
,char **envp
);
See also xfce_exec.
|
command line to run |
|
whether to run cmd in a terminal
|
|
whether to use startup notification |
|
location for a GError or NULL |
|
the environment |
Returns : |
TRUE on success, FALSE on failure. |