Project info for PStreams

Share This Created 26 Feb 2002 at 14:44 UTC by redi, last modified 1 Aug 2007 at 11:38 UTC by redi.


Freshmeat page:


PStreams is a C++ library that provides the ability to start a new process and communicate with it using pipes, giving C++ the same ability as scripting languages to perform complex tasks by using pipelines to combine simple tools. PStreams uses a standard C++ IOStreams interface for communication with the new process, using up to three pipes for its stdin>, stdout> and stderr>, allowing you to write data to another program and read the result back almost as easily as on the command line.

It exists for several reasons:

The project has developed to the point where it allows you to use any existing program and pipe data to and from it like a shell pipeline, just by instantiating a single object. This means you can reuse the vast number of existing UNIX tools rather than writing your own code to do the job, allowing you to concentrate on the higher-level design of your program.

License: LGPL

This project has the following developers:

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page