17-36. Party held in execution not to be discharged.

When a writ of habeas corpus cum causa issues and the sheriff or other officer to whom it is directed returns upon the same that the prisoner is condemned, by judgment given against him, and held in custody by virtue of an execution issued against him, the prisoner shall not be let to bail but shall be presently remanded, where he shall remain until discharged in due course of law. (2 Hen. V, c. 2; R.C., c. 31, s. 111; Code, s. 937; Rev., s. 1850; C.S., s. 2238.)