v. 1.order a defendant to be placed in custody pending the outcome of a proceedings against him or her