Subject to Section 432.093, a person, while being held for trial or the result of trial, may not be subjected to punishment or penalty other than arrest or confinement on the charges pending against the person, nor may the arrest or confinement imposed on the person be more rigorous than the circumstances require to ensure the person's presence, but the person may be subjected to minor punishment during that period for infractions of discipline.
Tex. Gov't. Code § 432.013