#1342: grass.core.find_program() problem with ssh and other -----------------------+---------------------------------------------------- Reporter: lucadelu | Owner: grass-dev@… Type: defect | Status: closed Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Resolution: invalid | Keywords: python find_program Platform: Linux | Cpu: Unspecified -----------------------+---------------------------------------------------- Changes (by lucadelu):
* status: new => closed * resolution: => invalid Comment: Replying to [comment:1 glynn]: > In order for find_program() to work, you need to find some invocation which returns a zero exit status (indicating success). If running the command with --help is considered an error (non-zero exit status), you'll need to find some other option. E.g. for ssh, you can use "ssh -V". Ok, thanks it works for me -- Ticket URL: <http://trac.osgeo.org/grass/ticket/1342#comment:2> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev