libbacktrace icon indicating copy to clipboard operation
libbacktrace copied to clipboard

Windows: No such file or directory when running app instead of app.exe

Open tehKaiN opened this issue 7 years ago • 1 comments

If I type in cmd app then backtrace doesn't work since there is no app file. If I run app.exe everything works fine. Is this a bug or feature?

There could be a windows-only code which would check if passed filename is without extension, and if so it would try attaching ".exe".

Also, I'm willing to implement it :)

tehKaiN avatar Jul 13 '18 09:07 tehKaiN

Yes, on Windows the code should certainly try appending ".exe" to argv[0].

ianlancetaylor avatar Jul 13 '18 12:07 ianlancetaylor