A study of the reaction 2H(π±, p)X