-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Description
If running plain cppwinrt -v from a console with the Windows SDK in PATH I get the following error:
cppwinrt : error canonical: The system cannot find the file specified.: "cppwinrt.exe"
It seems the following line expects argv[0] to be an actual path to cppwinrt.exe without the .exe specified, which is not necessarily the case (e.g. when running from PATH, but also for example on non-Windows platforms with symlinks or certain kinds of exec being used):
Lines 269 to 271 in e192094
| if (settings.verbose) | |
| { | |
| w.write(" tool: %\n", canonical(path(argv[0]).replace_extension("exe")).string()); |
ChrisGuzak and triplef
Metadata
Metadata
Assignees
Labels
No labels