lukasschwab / stackit

StackOverflow queries from the command line
MIT License
314 stars 28 forks source link

`stackit -e` fails for directories with spaces #3

Closed lukasschwab closed 9 years ago

lukasschwab commented 9 years ago

script failure.py produces name error, lives in ~/Desktop/Programming Projects/stackit

stackit internally attempts to run python ~/Desktop/Programming Projects/stackit, produces (and automatically queries) error python: can't open file '/Users/lukas/Desktop/Programming': [Errno 2] No such file or directory ....

Solution: stackit should insert a backslash (\) before spaces in filepaths to run scripts in filepaths with spaces.

lukasschwab commented 9 years ago

Just pushed a fix that inserts backslashes in front of spaces that cause this error in stackit_core.py.

Compile from source until next release if this error is a problem for you––see the second set of installation instructions in README.

Will update here when new pip distro is distro'd.

lukasschwab commented 9 years ago

Solved with pip distro 0.1.3