Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 18, 2024

For some reason, subprocess.run raises a FileNotFoundError instead of a CalledProcessError when the executable (dotnet) is not present on the system. This causes mono not to be tried, since FileNotFoundError is not caught.

Fix: Include FileNotFoundError in the except blocks.

@LakshyAAAgrawal LakshyAAAgrawal merged commit 575b72a into microsoft:main Dec 20, 2024
4 checks passed
@ghost ghost deleted the dev branch December 20, 2024 21:38
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