[GRASS-dev] [GRASS GIS] #1342: grass.core.find_program() problem with ssh and other

GRASS GIS trac at osgeo.org
Wed Apr 6 10:14:52 EDT 2011


#1342: grass.core.find_program() problem with ssh and other
---------------------------------+------------------------------------------
 Reporter:  lucadelu             |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  normal               |   Milestone:  7.0.0                    
Component:  Python               |     Version:  svn-trunk                
 Keywords:  python find_program  |    Platform:  Linux                    
      Cpu:  Unspecified          |  
---------------------------------+------------------------------------------
 there are some program that print help message to stderr instead stdout
 and this return false instead true in grass.core.find_program().[[BR]]
 With martin we see:[[BR]]
 ssh --help[[BR]]
 echo $?[[BR]]
 255[[BR]]

 instead[[BR]]
 svn --help[[BR]]
 echo $?[[BR]]
 0

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1342>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list