windows subprocess corrections