aboutsummaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 121b2dc..e04bb59 100644
--- a/src/process.h
+++ b/src/process.h
@@ -53,6 +53,13 @@ namespace Bu
53 virtual bool isBlocking(); 53 virtual bool isBlocking();
54 virtual void setBlocking( bool bBlocking=true ); 54 virtual void setBlocking( bool bBlocking=true );
55 55
56 /**
57 * Returns the pid of the child process, or zero if there is no
58 * currently running child. Note that a read operation must be
59 * performed in order to discover that the child has ended.
60 */
61 pid_t getPid();
62
56 private: 63 private:
57 int iStdIn; 64 int iStdIn;
58 int iStdOut; 65 int iStdOut;