Skip to content

Commit

Permalink
Fixed bug where pip install would not run on some POSIX systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Mickael committed Apr 3, 2020
1 parent 948f6dc commit 1f1b752
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create_flask_service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


__author__ = "Andrew Mickael"
__version__ = "0.0.10"
__version__ = "0.0.11"

TEMPLATE_DIR = "template"
PLACEHOLDER = "{{ %SERVICE_NAME% }}"
Expand Down Expand Up @@ -60,6 +60,7 @@ def install_requirements(self):
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
shell=True,
executable="/bin/bash" if os.name == "posix" else None,
).communicate()

return self
Expand Down

0 comments on commit 1f1b752

Please sign in to comment.