uses OsTasks to get OsDetails
Merge pull request #1179 from andreaturli/fix/postgresql

uses OsTasks to get OsDetails