delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 14 Feb 2010 20:53:20 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Tee broken under process substitution? |
Message-ID: | <20100215015320.GA5207@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4B70918F DOT 1080400 AT ece DOT cmu DOT edu> <4B70995F DOT 1040602 AT sbcglobal DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <4B70995F.1040602@sbcglobal.net> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, Feb 08, 2010 at 11:08:15PM +0000, Greg Chicares wrote: >On 2010-02-08 22:34Z, Ryan Johnson wrote: >> >> cygwin$ echo hi | tee >(cat) >> hi >> tee: /dev/fd/63: Bad file descriptor > >I don't know a workaround, but FWIW this looks similar: > http://cygwin.com/ml/cygwin/2010-01/threads.html#00942 My musing in the above thread was apparently incorrect. This has nothing to do with my buggy fifo implementation. I did a little more checking on this and the problem is that something like this doesn't work right now in cygwin: echo hello >/proc/self/fd/1 when it should. Implementing this isn't too tricky. However, implementing the more general: echo hello >/proc/<some-other-pid>/fd/1 is harder. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |