README 1.6 KB

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