[osgeo4w-dev] Re: [osgeo4w] #32: the template for batch files should have a quoted path, else CALL fails

OSGeo4W trac_osgeo4w at osgeo.org
Thu Jan 22 15:04:27 EST 2009


#32: the template for batch files should have a quoted path, else CALL fails
------------------------+---------------------------------------------------
  Reporter:  maphew     |       Owner:  osgeo4w-dev at lists.osgeo.org
      Type:  defect     |      Status:  closed                     
  Priority:  major      |   Milestone:                             
 Component:  Installer  |     Version:                             
Resolution:  fixed      |    Keywords:                             
------------------------+---------------------------------------------------
Comment (by maphew):

 better solution (also documented in packaging instructions):
 {{{
 @echo off
 SET OSGEO4W_ROOT=@osgeo4w@
 call %OSGEO4W_ROOT%\bin\o4w_env.bat
 start /B %OSGEO4W_ROOT%\bin\foo.exe %*
 @echo on
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/32#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list