Cruel and unusual

How can people sit in a room for days or weeks on end with a person who may or may not be correctly convicted at the end of the trial and then proceed to kill that person in cold blood? It IS barbaric and inhuman, cruel and unusual punishment by any civilised standard.