10 #include "wvfdstream.h"
11 #include "wvsubproc.h"
36 void setup(
const char *program,
const char *
const *argv,
37 bool writable,
bool readable,
bool catch_stderr,
38 int stdin_fd,
int stdout_fd,
int stderr_fd,
54 WvPipe(
const char *program,
const char *
const *argv,
55 bool writable,
bool readable,
bool catch_stderr,
56 int stdin_fd = 0,
int stdout_fd = 1,
int stderr_fd = 2,
72 WvPipe(
const char *program,
const char *
const *argv,
73 bool writable,
bool readable,
bool catch_stderr,
81 WvPipe(
const char *program,
const char **argv,
82 bool writable,
bool readable,
bool catch_stderr,
92 void kill(
int signum);
95 int finish(
bool wait_children =
true);
111 int getpid()
const {
return proc.pid; };
114 static void ignore_read(
WvStream &s);
117 const char *wstype()
const {
return "WvPipe"; }