#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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev