mirror of https://github.com/Icinga/icinga2.git
parent
f47f7fb8c5
commit
5f54406057
|
@ -21,13 +21,17 @@
|
|||
#include "base/process.h"
|
||||
#include "base/array.h"
|
||||
#include "base/objectlock.h"
|
||||
#include "base/logger_fwd.h"
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
|
||||
using namespace icinga;
|
||||
|
||||
Process::Process(const std::vector<String>& arguments, const Dictionary::Ptr& extraEnvironment)
|
||||
: m_Arguments(arguments), m_ExtraEnvironment(extraEnvironment), m_Timeout(600)
|
||||
{ }
|
||||
{
|
||||
Log(LogDebug, "base", "Running command '" + boost::algorithm::join(arguments, " ") + "'.");
|
||||
}
|
||||
|
||||
std::vector<String> Process::SplitCommand(const Value& command)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue