Most dictionaries distinguish between the two spellings, where "hanged" is specifically for "kill by hanging" wheras hung is a generic past tense for hang.
So I'd go for hanged, assuming the intention of killing veggies by hanging, and not just stringing them up without certain death.