crytic / solc-select

Manage and switch between Solidity compiler versions
GNU Affero General Public License v3.0
758 stars 103 forks source link

program exits early when running solc --help #88

Closed 0xalpharush closed 2 years ago

0xalpharush commented 2 years ago

Running solc --help causes subprocess to raise subprocess.CalledProcessError because check=True is passed. We either need to check whether the first arg is --help or remove check=True so that one can run solc --help. https://github.com/crytic/solc-select/blob/1f72897dc890ce112da60cf1beebe6bee749ec2f/solc_select/__main__.py#L87