projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[awesomized/libmemcached]
/
testing
/
lib
/
ForkAndExec.hpp
diff --git
a/testing/lib/ForkAndExec.hpp
b/testing/lib/ForkAndExec.hpp
index b88c56a727a1a0ba575765926a8a17b4afca675f..ff70abb98f20e40825b37496681d85ad08529f7b 100644
(file)
--- a/
testing/lib/ForkAndExec.hpp
+++ b/
testing/lib/ForkAndExec.hpp
@@
-4,6
+4,8
@@
class ForkAndExec {
public:
+ enum { READ, WRITE } pipe;
+
ForkAndExec(const char *binary, char **argv);
~ForkAndExec();
@@
-15,7
+17,7
@@
public:
optional<pid_t> operator () ();
private:
- int pipes[2];
+ int
ready[2],
pipes[2];
const char *binary;
char **argv;
};