fix mac process execution