Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Console-Program and Pipes

Author: Thomas Mayer

Date: 11:59:34 02/20/06

Go up one level in this thread


Hi Reinhard,

On February 20, 2006 at 13:59:32, Reinhard Scharnagl wrote:

>On February 20, 2006 at 13:39:56, Alessandro Scotti wrote:
>
>>Hi Reinhard,
>>xboard/Winboard has code for Unix and Windows:
>>
>>http://www.tim-mann.org/xboard.html
>>
>>On February 20, 2006 at 13:16:04, Reinhard Scharnagl wrote:
>>
>>>Hallo,
>>>
>>>I am searching for an C++ example how to call a pure text oriented windows
>>>program (console / terminal) as a separated process, to which communication
>>>should be possible via pipes and the called program's STDIN and STDDOUT streams.
>>>
>>>ich suche ein C++ Beispiel dafür, wie ein rein Text orientiertes
>>>Windows-Programm (Konsole / Terminal) als eigener Prozess aufgerufen werden
>>>kann, mit welchem dann über Pipes und STDIN- und STDOUT-Streams des gerufenen
>>>Programms kommuniziert werden kann.
>
>Thank you,
>
>but as far as I could see, there are no more windows based sources.
>I merley need a short commented example, not a whole OpenSource project ;-)

look at epd2wb from Bruce Moreland (it is included in the gerbil package) ->
quite nice example and easy to understand.

Greets, Thomas

P.S.: I search for the same in Java... :) There is code in José for that, but
like you I would like to have something a BIT shorter... :)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.