diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-04 00:14:52 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-04 00:14:52 +0000 |
commit | 7a0759d434d06305d7e602bd5debf9d01b92bbd1 (patch) | |
tree | 07ae46cbc86f4595ac6250b847fd3d60954e8d69 /src/sysExec.h | |
parent | fixed build on windows (version.h) (diff) |
win32 support for sysExec, sysExec.hpp arch-specific files introduced
Diffstat (limited to 'src/sysExec.h')
-rw-r--r-- | src/sysExec.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 |