[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run.c translator

From: Niels Möller
Subject: Re: run.c translator
Date: 20 Mar 2002 22:03:16 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Marcus Brinkmann <marcus@gnu.org> writes:

> Now, suppose you have a program like wc that collects data and returns
> a summary of that data.  It will read from stdin until it gets EOF, and
> then print from stdout.  But if I use the above translator, I have only
> one filedescriptor, and I cannot simply close it if I want to read back
> the summary of wc.  So how do I inform the translator that it should
> close the pipe the forked program reads from (it can easily use two
> pipes instead one bidirectional one, but the program holding a port to
> the translator can not easily get two ports, one for the reads and one
> for the writes).

Does your run-translator get any interesting rpc if the process that
opened the translated node calls shutdown on its fd?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]