The reaction A(π, ππ)X has been studied at low energies, paying particular attention to the interaction of the two final pions in the scalar isoscalar (I=J=0) channel. We have developed a microscopic model for the pion production, and then implemented the two pion final state interaction by using the results of a non-perturbative unitary coupled-channels method based in the standard chiral Lagrangians. The resulting model, describes well the reaction on the nucleon for all different isospin channels. Finally, we have considered the reaction in nuclei. Our calculation takes into account Fermi motion, Pauli blocking, pion absorption, and also the strong modification of the ππ interaction in the nuclear medium.13.60. Le,13.75.Lb,13.75.Gx,21.65+f,25.80.Hp