mirror of https://github.com/Icinga/icinga2.git
Cleaned up the Process class.
This commit is contained in:
parent
d6fcc33be4
commit
d2650df8b6
|
@ -19,10 +19,7 @@
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include "i2-base.h"
|
#include "i2-base.h"
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
#include <execvpe.h>
|
#include <execvpe.h>
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "i2-base.h"
|
#include "i2-base.h"
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
#include <execvpe.h>
|
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
void Process::CreateWorkers(void)
|
void Process::CreateWorkers(void)
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
|
|
||||||
#include "i2-base.h"
|
#include "i2-base.h"
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
#include <execvpe.h>
|
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
bool Process::m_WorkersCreated = false;
|
bool Process::m_WorkersCreated = false;
|
||||||
|
@ -42,7 +38,7 @@ Process::Process(const vector<String>& arguments, const Dictionary::Ptr& extraEn
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
m_FD = -1;
|
m_FD = -1;
|
||||||
#endif /* _MSC_VER */
|
#endif /* _WIN32 */
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<String> Process::ParseCommand(const String& command)
|
vector<String> Process::ParseCommand(const String& command)
|
||||||
|
|
Loading…
Reference in New Issue