-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Script crashes when located in a path containing special characters #53
Comments
i saw some weird behavior when path contains ! as well |
Thanks! I renamed the issue and added your observation to my initial post. I'm not sure when I'll be able to get back to this project, but these will definitely be the first things on the to-do list. |
Fixed the problem. On line 30: On line 98: |
@matheger, thanks for working on this! As both I am definitely game to entertain a PR if you can fix the logging while simultaneously fix all the other full path references without throwing the baby out with the bathwater. The current implementation is just a compromise to get the script to work for the most people in the safest possible way, while still failing safely for those it doesn't work for. |
I figured that it was only related to logging, and due to some sort of string escaping, which seemed really unfortunate that it broke the whole thing. With those fixes I've been running it from the command line without problem, and task scheduler doesn't seem to have any issue with it either. I can give it some more testing in the next few days. (I've rarely ever touched batch scripts so whatever I come up with might be wonky.) btw, I've been running it in C:\Progam Files (x86) so parentheses and whitespaces seem to work. |
Just received the following issue:
This is due to the script's path containing parentheses,
(x86)
.EDIT: @fusionneur also reported issues with exclamation points.
The text was updated successfully, but these errors were encountered: