What is the meaning of Running_the_gauntlet?

present participle and gerund of run the gauntlet

A form of physical punishment by which a person is compelled to run through a double line of soldiers who attempt to strike him as they pass

Source: wiktionary.org