8-63. Witnesses attend until discharge; effect of nonattendance.
Every witness, being summoned to appear in any of the said courts, in manner before directed, shall appear accordingly, and, subject to the provisions of G.S. 6-51, continue to attend from session to session until discharged, when summoned in a civil action or special proceeding, by the court or the party at whose instance such witness shall be summoned, or, when summoned in a criminal prosecution, until discharged by the court, the prosecuting officer, or the party at whose instance he was summoned; and in default thereof shall forfeit and pay, in civil actions or special proceedings, to the party at whose instance the subpoena issued, the sum of forty dollars ($40.00), to be recovered by motion in the cause, and shall be further liable to his action for the full damages which may be sustained for the want of such witness's testimony; or if summoned in a criminal prosecution shall forfeit and pay eighty dollars ($80.00) for the use of the State, or the party summoning him. If the civil action or special proceeding shall, in the vacation, be compromised and settled between the parties, and the party at whose instance such witness was summoned should omit to discharge him from further attendance, and for want of such discharge he shall attend the next session, in that case the witness, upon oath made of the facts, shall be entitled to a ticket from the clerk in the same manner as other witnesses, and shall recover from the party at whose instance he was summoned the allowance which is given to witnesses for their attendance, with costs.
No execution shall issue against any defaulting witness for the forfeiture aforesaid but after notice made known to him to show cause against the issuing thereof; and if sufficient cause be shown of his incapacity to attend, execution shall not issue, and the witness shall be discharged of the forfeiture without costs; but otherwise the court shall, on motion, award execution for the forfeiture against the defaulting witness.