In every case in which detention is justified under legal process, the legal process shall be produced and submitted to the judge at the hearing of the return.
(Orig. Code 1863, § 3919; Code 1868, § 3943; Code 1873, § 4019; Code 1882, § 4019; Penal Code 1895, § 1220; Penal Code 1910, § 1301; Code 1933, § 50-112.)