-silent-dup-error command line parameter not working?

David Weintraub qazwart@gmail.com
Wed Dec 6 14:55:00 GMT 2006


I've been using Cygwin/X for several years, and I never had this
problem before. However, I've recently installed Cygwin/X on my new
system, and now I notice that XWin's -silent-dup-error command line
parameter no longer seems to work.

I startup Cygwin/X by creating a Windows shortcut that runs
startxwin.bat. This will startup a XTerm window for me. When I want to
start another XTerm window, I simply the same shortcut again even
though XWin is already running. I depend upon the -silent-dup-error
parameter to allow the second instance of XWin to fail without
alerting me of the problem.

However, on this new installation of Cygwin/X and run XWin with
-silent-dup-error, I now get the error dialog box. The new Xterm still
starts, but now I have to manually close the dialog box which is a
minor pain. Has there been a change in XWin in the last 18 months that
would cause this problem? Is there a workaround?

How can I, in a Windows batch program, determine whether XWin is
already running, so I can simply skip bypass rerunning the XWin
command?

-- 
David Weintraub
qazwart@gmail.com

--
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