This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: startxwin.exe without lingering DOS window
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: raul at cantara dot com
- Date: Wed, 03 Feb 2010 20:24:47 +0000
- Subject: Re: startxwin.exe without lingering DOS window
- References: <f87fb721b844f965f4d736fb441d5b18@cantara.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
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/