Skip to content

Conversation

@0xalpharush
Copy link
Contributor

When using within a virtual environment, solc-select attempts to access the binary from the user path and runs into a permission error. This pull request checks whether the user is invoking solc-select from within a virtualenv and changes the path accordingly.
Example error of current behavior:

File "/Users/<user>/.virtualenvs/test/lib/python3.9/site-packages/solc_select/__main__.py", line 77, in solc
    os.execv(path, [path] + sys.argv[1:])
PermissionError: [Errno 13] Permission denied

@0xicingdeath 0xicingdeath self-requested a review January 25, 2022 16:48
@0xicingdeath 0xicingdeath merged commit 32e7c9c into crytic:dev Mar 22, 2022
0xicingdeath pushed a commit that referenced this pull request Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants