All provisions of the law applying to prosecutions upon indictments, to writs and process therein and the issuing and service thereof, to commitments, bail, motions, pleadings, trials, appeals and punishments, or the execution of any sentence, and to all other proceedings in cases of indictments whether in the court of original or appellate jurisdiction, shall, in the same manner and to the same extent as near as may be, be applied to informations and all prosecutions and proceedings thereon.