-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
42 lines (32 loc) · 1.58 KB
/
README
File metadata and controls
42 lines (32 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
This is version 0.3 of libexecstream, a C++ library
that allows you to run a child process and have its input,
output and error avaliable as standard C++ streams.
Copyright (c) 2004 Artem Khodush
Libexecstream is distributed under the BSD-style license,
see doc/license.html for the details.
Documentation:
doc/index.html
http://libexecstream/sourceforge.net/
Features:
Works on Linux and Windows
Uses threads
Does not depend on any other non-standard library
Distributed as source code only, requires you to compile and link
one file into your program
Installaion:
Libexecstream is provided in source code form only.
In order to use it, you need to compile and link one file, exec-stream.cpp,
into your program.
Header file exec-stream.h defines interface of the library and uses
only standard C++. It does not include any platform-specific header files.
On Linux, libexecstream was tested on Red Hat 9 with gcc compiler.
Versions of gcc prior to 3.0 will not work. Make sure that exec-stream.h
is found somewhere on the include path, compile exec-stream.cpp as usual,
link your program with -lpthread. GCC must be configured with --enable-threads,
which is by default on most Linux distributions.
On Windows, libexecstream was tested on XP and 95 flavors with VC++ 7 compiler.
VC++ 6 will not work. Make sure that exec-stream.h is found somewhere
on the include path, compile exec-stream.cpp as usual, link you program
with multi-threaded runtime.
Example makefiles for Windows and Linux (used to build the testsute)
are provided in the test subdirectory.