00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _LAUNCHH
00011 #define _LAUNCHH
00012
00013 #include "ComPlusPlus/Clone.h"
00014 #include <string>
00015
00016 namespace compp {
00017
00018 class Launch : public Clone {
00019
00020 private:
00021
00022 protected:
00023
00024 std::string Command;
00025 char *mArgv[255] ;
00026 virtual int Run ( ) ;
00027
00028 public:
00029
00030 Launch( const std::string &cmdargs ) ;
00031 ~Launch() ;
00032
00033 void SetCommand (const std::string &cmdargs = "" );
00034 int Spawn( );
00035
00036 };
00037 }
00038
00039 #endif
00040