delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/14/04:57:48

Date: Tue, 14 Oct 1997 10:56:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: mark <mark AT usart DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: Output stream of child process
In-Reply-To: <01bcd87c$58b2fa00$91e6e2c2@mark.rtf.usart.ru>
Message-ID: <Pine.SUN.3.91.971014105506.14214N-100000@is>
MIME-Version: 1.0

On Tue, 14 Oct 1997, mark wrote:

> How a output stream of child  process (through cout) to accept and to
> process by parental process (through cin)? I use a library call spaw *
> (...).

Use `popen' and `pclose' instead of `spawn*' functions.  `popen'/`pclose' 
are described in the library reference (type "info libc alpha popen" from 
the DOS prompt).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019