Merge pull request #1162 from larroy/master

Use sys.executable instead of hardcoded python. fixes #1161
pull/1176/head
Erik Johnston 2016-10-14 21:42:55 +01:00 committed by GitHub
commit a68ade6ed3
1 changed files with 1 additions and 1 deletions

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"