vladimirnani / DjangoCommands

ST2/ST3 plugin for managing django project
29 stars 14 forks source link

Use parenthesis for python and manage.py paths when firing a command #25

Closed svatynepi closed 7 years ago

svatynepi commented 8 years ago

When the paths to either one of them contains a space the command fails. Putting it around parenthesis does the trick.

Example for django runserver command: /path/to/with space/python /path/to/with space/mange.py runserver vs. "/path/to/with space/python" "/path/to/with space/mange.py" runserver

-> This line should get fixed: command = "{} {} {}".format(binary, self.manage_py, command)

Thanks for your great plugin!

mxdevmanuel commented 7 years ago

It's fixed now, thanks for your time reporting this issue