The most memorable deptiction is from a movie I otherwise can’t remember, one of what seems like a fad in the early 1960’s for movies set in the first quarter of that century (Elmer Gantry, Splendor in the Grass, Pollyanna, etc.), about a tyro newpaper reporter, IIRC, covering his first hanging. The condemned was dragged out kicking and screaming into the courtyard of the prison. (and that’s all I remember).
The end of In Cold Blood was good, as was Susan Hayward getting hers in *I Want to Live. *But grimmness isn’t a requirement: two parts in Villa Rides was cinematically worthwhile: when Charles Bronson shoots the Federales one by one as a sporting event, and Yul Brynner fiddling with the protocol during his own firing squad until a reprieve can arrive.
“Message” movies usually botch things up: at the end of Dead Man Walking, Sean Penn’s character tells the vicitms families (paraphrasing) “I hope this brings you some comfort,” with heartfelt contrition, wheras IRL the killer had spat it at them sarcastically. The Green Mile’s electrocutions were too much “Hallmark Moment” executions for my taste.
Very early in “The Dirty Dozen,” Lee Marvin watches the hanging of a hapless G.I. convict, who keeps saying “I’m sorry, I’m really sorry” over and over, like a little kid who knows he’s about to get spanked.
One of the few genuinely moving moments in an otherwise silly, ultra-macho movie.
James Cagney being dragged to the electric chair in Angels with Dirty Faces. The actual electrocution wasn’t shown, of course (the Hayes Code), but Cagney portrayed his terror so well that it raises the issue of whether he was faking it (as he was asked to) or not.
The execution scene in “Breaker Morant” is very, very good. They’re being escorted out, Harry reaches out to Hancock and they walk to the chairs hand in hand. The sergeant walks down the firing line putting one round in each rifle, and each shooter snaps the bolt shut. Then the classic “Shoot straight you bastards! Don’t make a mess of it!” just before the “Fire!” command.
I recall there was a prequel to Lonesome Dove where a number of Texas Rangers were executed by a Mexican firing squad. The commander of the Rangers, played, I think, by Keith Carradine, refused the blindfold, walked to his place, faced the gunmen - and subsequently fell in a heap, no slo-mo, no cliched agonized crumpling to the ground, just fell like a marionette with the strings cut. Pretty striking.