Use sys.executable instead of hardcoded python. fixes #1161

This commit is contained in:
Pedro Larroy 2016-10-08 23:55:20 +02:00
parent e779ee0ee2
commit c57f871184

View File

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