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: Mon, 1 Oct 2007 02:48:37 +0200 (CEST)
- Subject: Re: Checking if the X Server is running
- Reply-to: cygwin-xfree at cygwin dot com
--- Gary Johnson <garyjohn@spk.agilent.com> ha
scritto:
> You're welcome.
>
> I've written a few batch files that call Bash
> scripts, but to be
> honest, I seldom get these right the first
> time--there is usually
> some aspect of the transition from Windows/DOS to
> Cygwin that I
> overlook. Since you're not giving yours any
> arguments, though, it
> should be pretty straightforward. I think the
> following should
> work.
>
> @echo off
> C:\cygwin\bin\bash --login /usr/X11R6/bin/sd.sh
>
> Note the --login argument to bash. That insures
> that your script
> sees a normal login environment, including a proper
> PATH.
>
> Regards,
> Gary
>
Dear Gary,
I still don?t think I can get this to work. I tried
this from the command line (and my file is in
/usr/local/bin/sd.sh)
C:\cygwin\bin\bash --login /usr/local/bin/sd.sh
This still brings up the Fatal Error Window.
Regards,
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/