Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

LinuxProcess.hpp

Go to the documentation of this file.
00001 #ifndef LinuxProcess_HPP
00002 #define LinuxProcess_HPP
00003 
00004 #include <string>
00005 
00006 using namespace std;
00007 
00018  class LinuxProcess{
00019 
00020    public:
00021 
00028     static int createLinuxProcess(string appPath, string args);
00029 
00035     static void createDir(const string & path);
00036 
00043     static void changeDir(const string & path);
00044 
00052     static bool canCreateDir(const string & path);
00053 
00054   private:
00055 
00056     static void redirectIo();
00057     static void chmodRWX(string appPath);
00058     static void execApp(string appPath,char ** args);
00059 };
00060 
00061 #endif//LinuxProcess_HPP
00062 

Generated on Mon Sep 6 16:12:47 2004 by doxygen 1.3.3