#include <LinuxProcess.hpp>
Static Public Member Functions | |
int | createLinuxProcess (string appPath, string args) |
void | createDir (const string &path) |
void | changeDir (const string &path) |
bool | canCreateDir (const string &path) |
Static Private Member Functions | |
void | redirectIo () |
void | chmodRWX (string appPath) |
void | execApp (string appPath, char **args) |
This class for now has only a single class method to launch a process. However, it will soon evolve to include features such as process control(start, stop, kill....), monitoring, etc...
|
Returns true if path does not represent an existing file or directory.
|
|
Changes the current directory. Kills the program in case of errors.
|
|
|
|
Creates a new directory. Kills the program in case of errors.
|
|
Creates and launches a linux process.
|
|
|
|
|