When a prisoner is committed to jail on criminal process, the commitment shall be in the manner prescribed for commitments on civil process.