This is the mail archive of the
mailing list for the Cygwin project.
Re: Tee broken under process substitution?
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 14 Feb 2010 20:53:20 -0500
- Subject: Re: Tee broken under process substitution?
- References: <4B70918F.firstname.lastname@example.org> <4B70995F.email@example.com>
- Reply-to: 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)
>> tee: /dev/fd/63: Bad file descriptor
>I don't know a workaround, but FWIW this looks similar:
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple