IAnjutaTerminal

## IAnjutaTerminal IAnjutaTerminal — Interface for command line terminals |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libanjuta/interfaces/ianjuta-terminal.h>

    #define             IANJUTA_TERMINAL_ERROR
    struct              IAnjutaTerminalIface;
    GQuark              ianjuta_terminal_error_quark        (void);
    pid_t               ianjuta_terminal_execute_command    (IAnjutaTerminal *obj,
                                                             const gchar *directory,
                                                             const gchar *command,
                                                             gchar **environment,
                                                             GError **err);

## Description

## Details

### IANJUTA_TERMINAL_ERROR

    #define IANJUTA_TERMINAL_ERROR ianjuta_terminal_error_quark()

### struct IAnjutaTerminalIface

    struct IAnjutaTerminalIface {
    	GTypeInterface g_iface;

    	/* Signal */
    	void (*child_exited) (IAnjutaTerminal *obj, gint pid,  gint status);

    	pid_t (*execute_command) (IAnjutaTerminal *obj, const gchar* directory,  const gchar *command,  gchar **environment, GError **err);
    };

### ianjuta_terminal_error_quark ()

    GQuark              ianjuta_terminal_error_quark        (void);

### ianjuta_terminal_execute_command ()

    pid_t               ianjuta_terminal_execute_command    (IAnjutaTerminal *obj,
                                                             const gchar *directory,
                                                             const gchar *command,
                                                             gchar **environment,
                                                             GError **err);

Run the command in a terminal, setting the working directory and environment variables.

`obj` : | Self
`directory` : | Working directory
`command` : | Command executed followed by arguments
`environment` : | List of additional environment variables
`err` : | Error propagation and reporting.
Returns : | Process ID