Merge branch '2123_crash_while_copy'
[midnight-commander.git] / src / execute.h
blob977961cc257ea719da0767d6e7207bccd5211fb3
2 /** \file execute.h
3 * \brief Header: execution routines
4 */
6 #ifndef MC_EXECUTE_H
7 #define MC_EXECUTE_H
9 /* flags for shell_execute */
10 #define EXECUTE_INTERNAL (1 << 0)
11 #define EXECUTE_AS_SHELL (1 << 2)
12 #define EXECUTE_HIDE (1 << 3)
14 /* Execute functions that use the shell to execute */
15 void shell_execute (const char *command, int flags);
17 /* This one executes a shell */
18 void exec_shell (void);
20 /* Handle toggling panels by Ctrl-O */
21 void toggle_panels (void);
23 /* Handle toggling panels by Ctrl-Z */
24 void suspend_cmd (void);
26 /* Execute command on a filename that can be on VFS */
27 void execute_with_vfs_arg (const char *command, const char *filename);
29 #endif /* !MC_EXECUTE_H */