mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 00:24:23 +02:00
Build fix.
This commit is contained in:
parent
f3c085df44
commit
f30517a9e2
@ -65,8 +65,8 @@ void Process::StaticInitialize(void)
|
||||
<< boost::errinfo_errno(errno));
|
||||
}
|
||||
|
||||
Utility::SetCloExec(fds[0]);
|
||||
Utility::SetCloExec(fds[1]);
|
||||
Utility::SetCloExec(l_EventFDs[0]);
|
||||
Utility::SetCloExec(l_EventFDs[1]);
|
||||
#endif /* HAVE_PIPE2 */
|
||||
|
||||
Utility::SetNonBlocking(l_EventFDs[0]);
|
||||
|
@ -22,13 +22,11 @@
|
||||
#ifdef _WIN32
|
||||
using namespace icinga;
|
||||
|
||||
ProcessResult Process::Run(void)
|
||||
void Process::Run(const boost::function<void (const ProcessResult&)>& callback)
|
||||
{
|
||||
ProcessResult pr;
|
||||
|
||||
// TODO: implement
|
||||
|
||||
return pr;
|
||||
ProcessResult;
|
||||
callback(pr);
|
||||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user