summaryrefslogtreecommitdiffstats
path: root/src/subprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subprocess.h')
-rw-r--r--src/subprocess.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/subprocess.h b/src/subprocess.h
index 048bacb..934a220 100644
--- a/src/subprocess.h
+++ b/src/subprocess.h
@@ -36,9 +36,12 @@ struct Subprocess {
const string& GetOutput() const;
- struct Stream;
- Stream* stream_;
+ private:
+ string buf_;
+ int fd_;
pid_t pid_;
+
+ friend struct SubprocessSet;
};
/// SubprocessSet runs a poll() loop around a set of Subprocesses.