|  |  |  | Anjuta Developers Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#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);
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);
};
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 |