2 * \brief Header: execution routines
8 #include "lib/utilunix.h"
10 /*** typedefs(not structures) and defined constants **********************************************/
12 /*** enums ***************************************************************************************/
14 /* If true, after executing a command, wait for a keystroke */
18 pause_on_dumb_terminals
,
22 /*** structures declarations (and typedefs of structures)*****************************************/
24 /*** global variables defined in .c file *********************************************************/
26 extern int pause_after_run
;
28 /*** declarations of public functions ************************************************************/
30 /* Execute functions that use the shell to execute */
31 void shell_execute (const char *command
, int flags
);
33 /* This one executes a shell */
34 void exec_shell (void);
36 /* Handle toggling panels by Ctrl-O */
37 void toggle_panels (void);
39 /* Handle toggling panels by Ctrl-Z */
40 gboolean
execute_suspend (const gchar
* event_group_name
, const gchar
* event_name
,
41 gpointer init_data
, gpointer data
);
43 /* Execute command on a filename that can be on VFS */
44 void execute_with_vfs_arg (const char *command
, const char *filename
);
46 void post_exec (void);
49 /*** inline functions ****************************************************************************/
51 #endif /* MC__EXECUTE_H */