TrinityCore
StartProcess.cpp File Reference
#include "StartProcess.h"
#include "Errors.h"
#include "Log.h"
#include "Optional.h"
#include <boost/algorithm/string/join.hpp>
#include <boost/iostreams/copy.hpp>
#include <boost/process/args.hpp>
#include <boost/process/child.hpp>
#include <boost/process/env.hpp>
#include <boost/process/exe.hpp>
#include <boost/process/io.hpp>
#include <boost/process/pipe.hpp>
#include <boost/process/search_path.hpp>
+ Include dependency graph for StartProcess.cpp:

Go to the source code of this file.

Classes

class  Trinity::TCLogSink< T >
 
class  Trinity::AsyncProcessResultImplementation
 

Namespaces

namespace  Trinity
 

Functions

template<typename T >
auto Trinity::MakeTCLogSink (T &&callback) -> TCLogSink< typename std::decay< T >::type >
 
template<typename T >
static int Trinity::CreateChildProcess (T waiter, std::string const &executable, std::vector< std::string > const &argsVector, std::string const &logger, std::string const &input, bool secure)
 
int Trinity::StartProcess (std::string const &executable, std::vector< std::string > const &args, std::string const &logger, std::string input_file, bool secure)
 
std::shared_ptr< AsyncProcessResult > Trinity::StartAsyncProcess (std::string executable, std::vector< std::string > args, std::string logger, std::string input_file, bool secure)
 
std::string Trinity::SearchExecutableInPath (std::string const &filename)