From 7a0759d434d06305d7e602bd5debf9d01b92bbd1 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Thu, 4 Feb 2010 00:14:52 +0000 Subject: win32 support for sysExec, sysExec.hpp arch-specific files introduced --- src/sysExec.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/sysExec.h') diff --git a/src/sysExec.h b/src/sysExec.h index 268384a..28e6d23 100644 --- a/src/sysExec.h +++ b/src/sysExec.h @@ -57,13 +57,20 @@ class SysExec static void waitAndDestroy(SysExec*& s); private: - void doExec(std::string const& script, StringVector const& args, StringList const& env); + void doExec(std::string const& script, StringVector const& args, StringList const& env); std::string script_; + +#ifdef _MSC_VER + PROCESS_INFORMATION process_info_; + DWORD return_code_; +#else pid_t pid_; int pipefd_; - bool closed_; int return_code_; +#endif + bool closed_; + }; #endif -- cgit v1.2.3