def _discoverVersion(process):
     if process.executablePath:
         use_ld_library_path = not shell.isWinOs()
         cmd = GetKernelVersionInfo(process.executablePath,
                                    use_ld_library_path)
         return sap_discoverer_by_shell.execute_cmd(shell, cmd)
Example #2
0
 def _discoverVersion(process):
     if process.executablePath:
         use_ld_library_path = not shell.isWinOs()
         cmd = GetKernelVersionInfo(process.executablePath,
                                    use_ld_library_path)
         return sap_discoverer_by_shell.execute_cmd(shell, cmd)
Example #3
0
 def getVersionInfo(self, shell, bin_path):
     cmd = self.get_version_cmd(bin_path)
     if not shell.isWinOs():
         self.setLDLibraryPath(shell, bin_path)
     return execute_cmd(shell, cmd)