[Top][All Lists]

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

Re: Lost process output in pipe between Emacs and CVS

From: Richard Stallman
Subject: Re: Lost process output in pipe between Emacs and CVS
Date: Thu, 11 Jul 2002 06:01:53 -0600 (MDT)

    This is a different case.  CVS is invoking ssh in a child process in a
    way which causes them to share file descriptor 2.  ssh is then
    unblocking file descriptor 2 in a way which CVS does not expect.  This
    type of problem can only happen with programs which invoke ssh.

In that case, maybe CVS should have code to cope with this case.  It
must be quite common.  Perhaps CVS should avoid using stdio.  If that
is too hard, how about making CVS pipe the output through `cat' when
it invokes a subprocess?  That should be easy.

Please don't dismiss that simple idea because it is "inefficient"; the
inefficiency of this will usually be insignificant compared with the
slowness of the network, and this needs to be solved somehow.  If you
want to implement a more efficient and better solution, by all means
do; if you won't do that, please at least do this!

I will also forward the message to the Glibc maintainers.

reply via email to

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