now correctly executes process for linux