-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Tools scripts - Need to handle for paths with spaces #6847
Comments
We should fix the quoting issue, but fyi -- the output above suggests you're passing an incorrect argument to the script (it won't work even once the quoting is fixed). The argument should be pointing to the folder that contains Also, I'd suggest not storing your 'hacking' copy of the source under Program Files, since Windows often applies restrictive permissions to that location, which might make it hard to actually edit the source or pull down updates from git. |
@peterflynn the paths are valid. I had cloned the git repo in the brackets folder itself. |
@anlawande I would strongly recommend keeping those two locations separate -- it's really asking for trouble when it comes time to run the next sprint's installer. It will also mean your git status is never clean. And if you ever want to build brackets-shell yourself (necessary if you're going to be |
will do . Will move my dev copy to my user folder. Thanks for the advice @peterflynn ! |
No problem -- definitely better to be safe than sorry! :-) |
I might have fixed this issue with the last commit here: Added brackets around root_path in the mkdir directive of setup_for_hacking.bat #6841 Is that what you're referring to? I had the same problem because my user folder had spaces and I couldn't get the script to run correctly |
@adalcin yup. thats the one |
@adalcin's pull request is already landed in master. @anlawande Can you verify it fixes the issue and close this one. |
Yup all good now. Working with directories with spaces |
Got the following error when running the setup_for_hacking.bat
Space in the path causes the last argument to break. Will need to be enclosed by quotes.
Problem might possibly extend to all the windows scripts
The text was updated successfully, but these errors were encountered: