348. Whenever a person has before the passing of a decree in an original action
become liable as surety for the performance of the same or of any part thereof, the decree may be executed against him to the extent to which he has rendered himself liable in the same manner as a decree may be executed against a judgment-debtor, upon application made by the judgment-creditor to the court for that purpose by a petition to which the person sought to be made liable as surety shall be named
respondent. *Execution against surety.*