'run xterm' fails to open a window
Wed Nov 11 01:37:00 GMT 2009
> From: firstname.lastname@example.org [mailto:cygwin-xfree-
> email@example.com] On Behalf Of Lothar Brendel
> Sent: Tuesday, November 10, 2009 4:52 PM
> E.g. in a Windows command prompt or a non-X11 cygwin-console, the
> run sleep -wait 5
> does *not* wait for the sleep to terminate. Moreover
> run false -wait
> does *not* set %errorlevel% to 1.
Why are you using run for these?
C:\mike>C:\cygwin\bin\sh.exe -c false
C:\mike>C:\cygwin\bin\sh.exe -c "PATH=/usr/bin sleep 5"
On Windows there must be a console for programs that use console, which means a console window. To not have a console window, a program must be compiled as a GUI app, which means no console available. To get nifty cygwin features like windowless consoles, you must fully enter the cygwin environment. There is no magic bullet.
More information about the Cygwin-xfree