The writ of execution, if it be against the person of the judgment debtor, shall require the officer substantially to arrest such debtor and commit him to the jail of the county until he shall pay the judgment, or be discharged according to law.
SDCL 15-18-9