Skip to content

Fail to locate compiler on Windows if path quoted with trailing backslash #3

@nosoop

Description

@nosoop
C:\Code\Project>python3 configure.py --spcomp-dir "C:\Applications\spcomp-1.10\"
Checking for SourcePawn compiler...
Traceback (most recent call last):
  File "C:\Code\Project\configure.py", line 45, in <module>
    raise FileNotFoundError('Could not find SourcePawn compiler.')
FileNotFoundError: Could not find SourcePawn compiler.

C:\Code\Project>python3 configure.py --spcomp-dir "C:\Applications\spcomp-1.10"
Checking for SourcePawn compiler...
Found SourcePawn compiler version 1.10.0.6453 at C:\Applications\spcomp-1.10\spcomp.EXE

C:\Code\Project>python3 configure.py --spcomp-dir C:\Applications\spcomp-1.10\
Checking for SourcePawn compiler...
Found SourcePawn compiler version 1.10.0.6453 at C:\Applications\spcomp-1.10\spcomp.EXE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions