If judgment be rendered against any corporation, or against any persons claiming to be a corporation, the court may cause the costs to be collected by execution against the persons claiming to be a corporation, or by attachment against the directors or other officers of the corporation, and may restrain any disposition of the effects of the corporation, appoint a receiver of its property and effects, take an account, and make a distribution thereof among the creditors and persons entitled.
R.L. 1910, § 4926.