Merge pull request #1162 from larroy/master

Use sys.executable instead of hardcoded python. fixes #1161
This commit is contained in:
Erik Johnston 2016-10-14 21:42:55 +01:00 committed by GitHub
commit a68ade6ed3

View file

@ -24,7 +24,7 @@ import subprocess
import sys
import yaml
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]
SYNAPSE = [sys.executable, "-B", "-m", "synapse.app.homeserver"]
GREEN = "\x1b[1;32m"
RED = "\x1b[1;31m"