Eh, just put them outside.
Walk the plank!
As a species with a relatively impressive ability to engineer things, we can almost certainly find a way to make guillotines work without gravity. I propose the use of of rockets as a form of karmic irony.
A woodsplitter is basically a hydraulic guillotine.
Rocket powered guillotine
Electromagnets would work nicely.
Put their head into the hydraulic press from the YouTube channel. I bet Elon’s head would get billions of likes overnight.
Something kinda in the same vein, in the book series Red Rising, hanging people on Mars is ineffective because of the low gravity (not enough force to snap the neck), so someone has to go up and pull on the legs of the executed person to kill them.
Guess we’re just gonna have sharpen fan blades then.
Someone needs to invent the rocket guillotine, ASAP