| Top |  |  |  |  | 
| PkClientHelperPkClientHelper — helper object to run a helper session process for the lifetime of a transaction | 
This GObject can be used to run a session helper program out of band with the normal PackageKit transaction. This allows an external program such as debconf to be used that needs direct console access.
client ----> packagekit-glib ---> dbus ---> packagekitd ---> apt .------------^ ^ debconf ___________________ (SetHints) | | ___| PkClientHelper __.____.____.______/_.____.____.__/ ^-----|___________________/ (socket in tmp) (stdin & stdout )
------------.------------------/ ------------.---------/ | | user session system context
gboolean pk_client_helper_stop (PkClientHelper *client_helper,GError **error);
Stops the helper process, by killing the helper process and deleting the socket.
Since: 0.6.10
gboolean pk_client_helper_start (PkClientHelper *client_helper,const gchar *socket_filename,gchar **argv,gchar **envp,GError **error);
Starts the helper process, by running the helper process and setting up the socket for use.
| client_helper | a valid PkClientHelper instance | |
| socket_filename | a socket filename that does not already exist | |
| argv | the executable, along with any arguments | |
| envp | the environment | |
| error | 
Since: 0.6.10