aboutsummaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 665f1e0..3fcf1f2 100644
--- a/src/process.h
+++ b/src/process.h
@@ -37,6 +37,12 @@ namespace Bu
37 Process( Flags eFlags, const char *sName, const char *argv, ...); 37 Process( Flags eFlags, const char *sName, const char *argv, ...);
38 virtual ~Process(); 38 virtual ~Process();
39 39
40 /**
41 * Waits until the process exits. This blocks the caller until the
42 * child process terminates.
43 */
44 void wait();
45
40 virtual void close(); 46 virtual void close();
41 virtual size_t read( void *pBuf, size_t nBytes ); 47 virtual size_t read( void *pBuf, size_t nBytes );
42 virtual size_t readErr( void *pBuf, size_t nBytes ); 48 virtual size_t readErr( void *pBuf, size_t nBytes );