[osgeo4w-dev] [osgeo4w] #418: o4w_env.bat pollutes stdout with OSGEO4W home info

OSGeo4W trac_osgeo4w at osgeo.org
Wed May 14 13:23:41 PDT 2014

#418: o4w_env.bat pollutes stdout with OSGEO4W home info
Reporter:  neteler  |       Owner:  osgeo4w-dev@…              
    Type:  defect   |      Status:  new                        
Priority:  major    |   Component:  Package                    
 Version:           |    Keywords:  o4w_env.bat                
 GRASS GIS 7.svn is able to print its configuration which is useful
 e.g. for Python scripting (in order to easily obtain the path for
 the Python API within the installation). Unfortunately OSGeo4W
 interferes and makes parsing difficult:

 C:\Users\user\Desktop>grass71svn --config path

 OSGEO4W home is C:\OSGeo4W


 while e.g. under Linux the output is just the expected path:

 grass71 --config path

 The extra stuff comes from C:\OSGeo4W\bin\o4w_env.bat

 Could it be please suppressed or printed in a diffent way
 if all needed?


Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/418>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

More information about the osgeo4w-dev mailing list