20 #ifndef __UT_WritePipe__
21 #define __UT_WritePipe__
24 #include <sys/types.h>
39 bool change_process_group =
false);
49 FILE *
open(
const char *cmd)
50 {
return open(cmd, NULL, NULL); }
56 FILE *
open(
const char *cmd,
70 int close(
bool wait_for_child_to_terminate =
false);
75 bool isComplete(
bool block =
false);
92 bool isSuspended()
const;
111 FILE *doPOpen(
char *cmd, FILE *kstdout, FILE *kstderr );
112 int isCompleteImpl(
bool block);
121 bool myChangeProcessGroup;
pid_t getPid() const
This method will return the child process id.
FILE * open(const char *cmd)
FILE * getFilePtr()
Return file handle for last open() call.