summaryrefslogtreecommitdiff
path: root/lib/server/LocalProcessStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server/LocalProcessStream.h')
-rw-r--r--lib/server/LocalProcessStream.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/server/LocalProcessStream.h b/lib/server/LocalProcessStream.h
new file mode 100644
index 00000000..51e51f8a
--- /dev/null
+++ b/lib/server/LocalProcessStream.h
@@ -0,0 +1,20 @@
+// --------------------------------------------------------------------------
+//
+// File
+// Name: LocalProcessStream.h
+// Purpose: Opens a process, and presents stdin/stdout as a stream.
+// Created: 12/3/04
+//
+// --------------------------------------------------------------------------
+
+#ifndef LOCALPROCESSSTREAM__H
+#define LOCALPROCESSSTREAM__H
+
+#include <memory>
+#include "IOStream.h"
+
+std::auto_ptr<IOStream> LocalProcessStream(const std::string& rCommandLine,
+ pid_t &rPidOut);
+
+#endif // LOCALPROCESSSTREAM__H
+