summaryrefslogtreecommitdiff
path: root/lib/server/LocalProcessStream.h
blob: 51e51f8a7d43348341ef9759ee80efd82548e7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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