XWin -silent-dup-error not so silent
René Berber
r.berber@computer.org
Sat Sep 9 22:11:00 GMT 2006
Jeff Cook wrote:
> Anybody have a work-around for this super-annoying problem?
I you are using a script like the sample sent by Kenneth, why not doing
something simple as:
PID=`ps -a | grep XWin | cut -d " " -f 6`
if [ -z $PID ]; then
\cygwin\bin\run XWin -multiwindow -clipboard -silent-dup-error
fi
\cygwin\bin\run xterm -e /usr/bin/bash -l
You can also use pgrep in PID=... if you have it (makes that part clearer and
more portable).
--
René Berber
--
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