23 #ifndef __MULTITHREAD_PROCESS_H_ 24 #define __MULTITHREAD_PROCESS_H_ 26 #include <sys/types.h> static void Fork()
Duplicate the calling process.
static pid_t GetID()
Get process ID (PID)
static std::string WorkingDirectory()
Retrieve the current working directory of the process.
static std::string ExecutablePath()
Retrieve the absolute path of the calling process executable, including the process' filename...
static pid_t GetParentID()
Get the parent's process ID.
static std::string ExecutableDirectory()
Retrieve the directory that the process executable resides in.
Static functions for retrieving information about the running process.
Definition: Process.h:35