diff options
Diffstat (limited to 'lib/server/LocalProcessStream.h')
-rw-r--r-- | lib/server/LocalProcessStream.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/server/LocalProcessStream.h b/lib/server/LocalProcessStream.h new file mode 100644 index 00000000..490c0f45 --- /dev/null +++ b/lib/server/LocalProcessStream.h @@ -0,0 +1,19 @@ +// -------------------------------------------------------------------------- +// +// 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 char *CommandLine, pid_t &rPidOut); + +#endif // LOCALPROCESSSTREAM__H + |