Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve log path presentation to the user on Windows #336

Open
MisterDA opened this issue Feb 2, 2022 · 0 comments
Open

Improve log path presentation to the user on Windows #336

MisterDA opened this issue Feb 2, 2022 · 0 comments

Comments

@MisterDA
Copy link
Collaborator

MisterDA commented Feb 2, 2022

When a build fails 😞 alcotest shows a message to tell the user where to find the log file:

Logs saved to `~\Tarides\obuilder\_build\default\test\_build\_tests\MJ8871ZU\manifest.000.output'.

The tilde ~ as an expansion for the home path is only understood by Unix shells. The Unix shells themselves don't understand the backslashes! That path is a bit cumbersome to copy-paste somewhere to cat the log.

I suggest using forward slashes only (Windows understands them (in most cases)), and if possible, show the path relative to the root of the project instead of the home directory, or something that wouldn't involve ~.

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

No branches or pull requests

1 participant