Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Console-Program and Pipes

Author: Reinhard Scharnagl

Date: 13:10:52 02/20/06

Go up one level in this thread


On February 20, 2006 at 15:16:22, Matthias Gemuh wrote:

>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.
>>
>>
>
>
>Hi Reinhard,
>my ChessGUI writes to pipes with routines I hijacked from WinBoard.
>ChessGUI however reads from pipes with pure unportable VCL threads.
>I can post such a thread if portability is no issue for you.
>(My code may offend experienced programmers, though).

Hi Matthias,

I hoped to get a neutral explanation. I do not want to use code from chess
related programs to avoid any copyright or copyleft discussion. Thank you!

Regards, Reinhard.



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.