[compat] Remove subprocess compatibility (related to #264017) [applied]