Intended to be used internally by saga_env. Uses a system call to saga_cmd to output version of installed SAGA-GIS on the console

saga_version(saga_cmd)

Arguments

saga_cmd

The path of the saga_cmd binary.

Value

A numeric_version with the version of SAGA-GIS found at the cmd path.