This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Checking if the X Server is running


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]