startxwin.bat and checkX

Ken Brown kbrown@cornell.edu
Fri Oct 16 17:45:00 GMT 2009


On 10/16/2009 10:39 AM, Ken Brown wrote:
> I don't think the line
> 
>    %RUN% checkX -d %DISPLAY% -t 12
> 
> in startxwin.bat accomplishes anything, because run.exe returns
> immediately, and checkX runs in the background.  From 'man run':
> 
> run [ -p path ] command [ -wait ] arguments
> [...]
> Issuing -wait as first program argument will make run wait for program
> completition, otherwise it returns immediately.
> 
> [Chuck: Note the typo in "completition".]
> 
> So I think startxwin.bat should use
> 
>   %RUN% checkX -wait -d %DISPLAY% -t 12
> 

Even better, why bother with run.exe at all?  Why not just use

   %CYGWIN_ROOT%\bin\checkX -d %DISPLAY% -t 12

Ken


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