00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: utils_execute.h,v 1.1 2002/08/27 05:06:05 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _UTILS_EXECUTE_H_
00019 #define _UTILS_EXECUTE_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "utils_execute.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Headers
00037 //----------------------------------------------------------------------------------------
00038
00039 #include "wx/process.h"
00040
00041 //----------------------------------------------------------------------------------------
00042 // Class definition: utils_execute (static only)
00043 //----------------------------------------------------------------------------------------
00044
00046 class utils_execute
00047 {
00048
00049 public:
00050
00052
00070 static bool launch_xterm_shell( const wxString& command,
00071 const wxString& shell_console_title = wxEmptyString,
00072 bool close_on_exit = FALSE,
00073 bool synchronous = FALSE,
00074 bool show_scrollbar = TRUE,
00075 long saved_line_history = 10000
00076 );
00077 };
00078
00079 //----------------------------------------------------------------------------------------
00080 // End single inclusion of this .h file condition
00081 //----------------------------------------------------------------------------------------
00082
00083 #endif //_UTILS_EXECUTE_H_