#include <dirent.h>
#include <fcntl.h>
#include <regex.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <wordexp.h>
#include <fstream>
#include <iterator>
#include <memory>
#include <boost/asio.hpp>
#include <boost/asio/deadline_timer.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/process.hpp>
#include "CustomIterator.h"
#include "ErrorCode.h"
#include "MiscUtils.h"
#include "SysHelper.h"
#include "stlx.h"
Go to the source code of this file.
|
| dds |
| Miscellaneous functions and helpers are located here.
|
|
| dds::misc |
|
|
bool | dds::misc::IsProcessRunning (pid_t _PID) |
| The function checks, whether the process which corresponds to the given _PID can be found. More...
|
|
vectorPid_t | dds::misc::getprocbyname (const std::string &_Srv, bool _filterForRealUserID=false) |
| _filterForRealUserID is an OS X specific argument More...
|
|
bool | dds::misc::is_status_ok (int status) |
|
pid_t | dds::misc::execute (const std::string &_Command, const std::string &_stdoutFileName, const std::string &_stderrFileName, std::string *_outputFilesAccessPermissions=nullptr) |
|
void | dds::misc::execute (const std::string &_Command) |
| We do not want the parent process to wait for its child process and we do not want to create a zombie. More...
|
|
pid_t | dds::misc::execute (const std::string &_Command, const std::chrono::seconds &_Timeout, std::string *_output=nullptr, std::string *_errout=nullptr, int *_exitCode=nullptr) |
|