Upon the hearing of the rule the petitioner shall be required to answer all questions put to him, and shall produce all books and papers required of him; and if it shall appear to the court that the petitioner is without means or property with which to pay the judgment, and that he has not secreted or assigned any of his property so as to avoid the payment of the judgment, the court may discharge him from arrest and in said proceeding; but such discharge shall not in any way affect the judgment entered against him. Any person arrested or held in custody on or by virtue of, any process issued on a judgment obtained in any civil action in this Commonwealth, shall be discharged at the expiration of sixty days from the date of the commitment, if compliance is had with all the requirements of this act and all other acts of Assembly relating to insolvency.
39 P.S. § 12