This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Checking if the X Server is running
- From: "O. Olson" <olson_ord at yahoo dot it>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 30 Sep 2007 23:48:59 +0200 (CEST)
- Subject: Re: Checking if the X Server is running
- Reply-to: cygwin-xfree at cygwin dot com
--- Holger Krull <holger.krull@gmx.de> ha scritto:
> I misstyped XWin, it is W not w. Sorry, i didn't
> test it.
>
Dear Holger,
I can get your suggestion of
ps |grep XWin >/dev/null ||XWin -multiwindow
-clipboard -silent-dup-error
to work from the Cygwin Command Prompt as well as from
a script file (.sh). I am now trying to copy and
modify my startxwin.bat file ? to see if it can do
this. So I replaced the line
%RUN% XWin -multiwindow -clipboard -silent-dup-error
Where the file starts the XWin with something like
%RUN% ps |grep XWin >/dev/null ||XWin -multiwindow
-clipboard -silent-dup-error
To this I get ?The system cannot find the path
specified?
Now if I change that to
%RUN% "ps |grep XWin >/dev/null ||XWin -multiwindow
-clipboard -silent-dup-error"
I get an error dialog from Run.exe telling me that it
could not find ps |grep XWin >/dev/null ||XWin
-multiwindow -clipboard -silent-dup-error anywhere
I don?t know what I am doing wrong.
Thanks a lot for your help and time,
O.O.
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
--
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/