tforce python2 with daemon - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2843d7a148a3103a6b7a8399bb67ea7a1305b9e9 DIR parent 280903cf2ac651003255618fde33a108de84d8c7 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 12 Nov 2014 12:24:33 +0100 force python2 with daemon Diffstat: M lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -36,7 +36,7 @@ DAEMON_PORT=8001 def do_start_daemon(config): import subprocess logfile = open(os.path.join(config.path, 'daemon.log'),'w') - p = subprocess.Popen(["python",__file__], stderr=logfile, stdout=logfile, close_fds=True) + p = subprocess.Popen(["python2",__file__], stderr=logfile, stdout=logfile, close_fds=True) print_stderr("starting daemon (PID %d)"%p.pid)