thanks cyril Can you open a bug entry? On Tue, Jun 6, 2017 at 4:21 PM, Cyrille Delaunay <cy.delaunay@gmail.com> wrote:
Hello,
I am running a Pharo 6 image (Latest update: #60498) on a mac sierra machine (10.12.1). I loaded version 4.6.4 of OSProcess (which is the one loaded with stable version of CommandShell project).
I expected these methods to tell that I am running on a "mac unix" system:
OSProcess class >> isNonUnixMac OSProcess class >> isUnix OSProcess class >> isUnixMac
But they all answer that i am running on a "non unix mac" system.
Problem seems to come from the following check to decide if a mac platform is "unix mac" :
(self platformName = 'Mac OS') and: [numericOsVersion >= 1000]
In my case, numericOsVersion is '10.12.1' asInteger, which gives 10 => "non unix"
-- Cyrille Delaunay