Cleaned up the Process class.

This commit is contained in:
Gunnar Beutner 2013-02-13 11:48:19 +01:00
parent d6fcc33be4
commit d2650df8b6
3 changed files with 1 additions and 12 deletions

View File

@ -19,10 +19,7 @@
#ifndef _WIN32
#include "i2-base.h"
#ifndef _MSC_VER
#include <execvpe.h>
#endif /* _MSC_VER */
using namespace icinga;

View File

@ -20,10 +20,6 @@
#ifdef _WIN32
#include "i2-base.h"
#ifndef _MSC_VER
#include <execvpe.h>
#endif /* _MSC_VER */
using namespace icinga;
void Process::CreateWorkers(void)

View File

@ -19,10 +19,6 @@
#include "i2-base.h"
#ifndef _MSC_VER
#include <execvpe.h>
#endif /* _MSC_VER */
using namespace icinga;
bool Process::m_WorkersCreated = false;
@ -42,7 +38,7 @@ Process::Process(const vector<String>& arguments, const Dictionary::Ptr& extraEn
#ifndef _WIN32
m_FD = -1;
#endif /* _MSC_VER */
#endif /* _WIN32 */
}
vector<String> Process::ParseCommand(const String& command)