| Top |
| gdouble | (*OGMJobWatch) () |
| OGMJobSpawn * | ogmjob_exec_new () |
| OGMJobSpawn * | ogmjob_exec_newv () |
| gint | ogmjob_exec_get_status () |
| void | ogmjob_exec_add_watch () |
| void | ogmjob_exec_add_watch_full () |
gdouble (*OGMJobWatch) (OGMJobExec *exec,const gchar *buffer,gpointer data);
Specifies the type of functions passed to ogmjob_exec_add_watch(), and
ogmjob_exec_add_watch_full().
OGMJobSpawn *
ogmjob_exec_new (const gchar *command_line);
Creates a new OGMJobExec.
gint
ogmjob_exec_get_status (OGMJobExec *exec);
Returns the execution status.
void ogmjob_exec_add_watch (OGMJobExec *exec,OGMJobWatch watch_func,gpointer watch_data);
Invokes watch_func
each time data is available on stdin or stdout.
void ogmjob_exec_add_watch_full (OGMJobExec *exec,OGMJobWatch watch_func,gpointer watch_data,gboolean watch_out,gboolean watch_err,gboolean swapped);
Invokes watch_func
each time data is available on stdin or stdout.
exec |
An OGMJobExec |
|
watch_func |
An OGMJobWatch |
|
watch_data |
User data |
|
watch_out |
Whether to watch stdin |
|
watch_err |
Whether to watch stdout |
|
swapped |
Whether to swap exec and |