startxwin.exe without lingering DOS window

Jon TURNEY jon.turney@dronecode.org.uk
Wed Feb 3 20:24:00 GMT 2010


On 06/01/2010 23:14, Raul Acevedo wrote:
> How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
> window after it starts the programs in ~/.startwinrc?

As pointed out by others, this is achieved by using 'run' (which is designed 
for exactly that purpose) to invoke startxwin.

The 'XWin Server' start menu entry created by the installation of the xinit 
package should contain a command line to do that: 'C:\cygwin\bin\run.exe 
/usr/bin/bash.exe -l -c /usr/bin/startxwin.exe' (this also gives XWin and all 
your clients a login shell environment)

If that isn't working to hide the DOS window, that would probably be a bug in run.

> Are there plans to update http://x.cygwin.com/docs/ug/using.html so people
> like me don't waste a few hours finding out that startxwin.bat has been
> replaced by startxwin.exe and that it is documented in its man page?

Yes, the plan is to update that documentation either:
i/ When someone sends me a patch, or
ii/ When I have some time and the inclination to do so

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list