Trying to remove dependencies on System.Process and fix up hlint behaviour