Fix issue where the line with the process pid could have more than 1 space.