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/

Reply via email to