ApeWorX / py-solc-x

Python wrapper and version management tool for the solc Solidity compiler.
https://solcx.readthedocs.io/
MIT License
141 stars 49 forks source link

Use first if multiple files returned by where.exe #158

Closed edcucerzan closed 11 months ago

edcucerzan commented 1 year ago

What I did

I added code for when "where.exe" finds multiple solc executables. Previously this would cause the solc compiler to be not found when trying to compile a file. Now only the first line of output from where.exe is kept and everything works as expected.

Related issue: #

How I did it

How to verify it

Checklist

antazoey commented 11 months ago

Outdated- we changed to shutil.which()