X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=testing%2Flib%2FForkAndExec.hpp;h=ff70abb98f20e40825b37496681d85ad08529f7b;hb=b64a8e5e114fe91f894641c3981518ea8bc79113;hp=b88c56a727a1a0ba575765926a8a17b4afca675f;hpb=d1c9b695e9b3fbfcc94230a242b0290b43f27006;p=awesomized%2Flibmemcached diff --git a/testing/lib/ForkAndExec.hpp b/testing/lib/ForkAndExec.hpp index b88c56a7..ff70abb9 100644 --- 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 operator () (); private: - int pipes[2]; + int ready[2], pipes[2]; const char *binary; char **argv; };