00001 // -*- C++ -*- 00020 #ifndef COIL_PROCESS_H 00021 #define COIL_PROCESS_H 00022 00023 #include <stdlib.h> 00024 #include <unistd.h> 00025 #include <libgen.h> 00026 #include <coil/stringutil.h> 00027 00028 namespace coil 00029 { 00030 00057 int launch_shell(std::string command); 00058 00059 int daemon(int nochdir, int noclose); 00060 00061 }; // namespace coil 00062 #endif // COIL_PROCESS_H