|  |  |  | Anjuta Developers Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Signals | ||||
#include <libanjuta/interfaces/ianjuta-terminal.h> #define IANJUTA_TERMINAL_ERROR IAnjutaTerminal; 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);
typedef struct {
	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);
} IAnjutaTerminalIface;
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.
| 
 | Self | 
| 
 | Working directory | 
| 
 | Command executed followed by arguments | 
| 
 | List of additional environment variables | 
| 
 | Error propagation and reporting. | 
| Returns : | Process ID | 
"child-exited" signalvoid user_function (IAnjutaTerminal *ianjutaterminal, gint arg1, gint arg2, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. |