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

Fix windows log hook issues with single/dboule quotes and variable expan... #12

Closed
wants to merge 3 commits into from

Conversation

valentijnscholten
Copy link

Hello,

For me this fixes the issues in #11.
I am not sure if this break anything, but it seems like something that's needed on windows.
Modifying single quotes into double quotes prevents windows from interpreting the format as a command.
Modifying single % characters into double (%%) characters prevents windows from expanding variables.

Let me know your thoughts,

Valentijn

@valentijnscholten
Copy link
Author

Looks like I messed up the commits a little, but the end result is correct.
Can you work with this?

@msiemens
Copy link
Owner

Hey! Thanks for your contribution. Unfortunately it breaks if the user sets the log hook to use %1 instead of $1. I've found a better solution and will upload it and prepare a new release soon.

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.

3 participants