summaryrefslogtreecommitdiff
path: root/src/sysExec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysExec.h')
-rw-r--r--src/sysExec.h11
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