Re: How 'exec 1<&-; exec 2<&-' work?

2010-09-03 Thread Eric Blake
On 09/03/2010 02:47 AM, Oleksandr Gavenko wrote: I intuitively change command to exec 1<&-; exec 2<&-; XWin -multiwindow & I really don't understand what magic exec do. How could it be intuition if you don't know what it does? A better description would be calling it what it was to you at

How 'exec 1<&-; exec 2<&-' work?

2010-09-03 Thread Oleksandr Gavenko
I develop gtk app under Windows and in order to run it I need start Cygwin X Windows. To start X Windows I use Makefile rule: .PHONY: cygwin-startx cygwin-startx: XWin -multiwindow & But when I invoke this target in native GNU Emacs by M-x compile in *Compilation* buffer I see XWin ou