This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Pipe behaviour broken with Cygwin 2.2.0-1
- From: Nem W Schlecht <nemws1 at gmail dot com>
- To: cygwin at cygwin dot com
- Cc: "Mark O'Keefe" <mark_okeefe at mac dot com>
- Date: Wed, 5 Aug 2015 16:09:32 -0500
- Subject: Re: Pipe behaviour broken with Cygwin 2.2.0-1
- Authentication-results: sourceware.org; auth=none
- References: <7C6531D1-F23D-4FD1-8897-7BBAC809CE90 at mac dot com> <1815054412 dot 20150805194907 at yandex dot ru>
On Wed, Aug 5, 2015 at 11:49 AM, Andrey Repin <anrdaemon@yandex.ru> wrote:
>
>> Iâve noticed that the following is broken in Cygwin 2.2.0-1. It works in Cygwin 2.1.0-1.
>
>> yes | head -10
>
>> This fails to exit on Cygwin 2.2.0-1. It correctly exists on Cygwin 2.1.0-1.
>
> WJFFM both in mintty and native console.
> CYGWIN_NT-6.1 daemon2 2.2.0(0.289/5/3) 2015-08-03 12:51 x86_64 Cygwin
Does *not* work for me in an 'xterm' launched from the X toolbar icon.
I see the same error.
I don't see this with other commands, though. 'ls -l | head -10'
works just fine.
Okay, now this is really weird.... I have a hotkey set up in
AutoHotKey (Alt-Shift-T) to launch a new xterm. It calls HSTART
(http://www.ntwind.com/software/hstart.html) with /NOCONSOLE /SHELL
which then runs a '.bat' file that runs:
c:\cygwin64\bin\bash.exe -i -c "exec /usr/bin/xterm -ls -u8 -display
:0.0 >/dev/null 2>&1 &"
Any 'xterms' I open with this *work just fine*. Any I open from the
X11 taskbar *do not*. From my system.XWinrc:
menu apps {
xterm exec "xterm -ls -u8"
...
}
Usually, I use my hotkey to open windows, so I haven't noticed if/when
I get this IO error for similar commands.
I opened multiple xterms via both methods and confirmed that my hotkey
version always works and the menubar version never does.
CYGWIN_NT-6.1 sshhhh 2.2.0(0.289/5/3) 2015-08-03 12:51 x86_64 Cygwin
--
Nem W Schlecht
"Perl did the magic. I just waved the wand."
--
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