Correct test for is_windows and stop printing rm pid info.