electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3e6f903da3b49548f5775266e56e5cebebf84c34
parent 8196bc577955f1efcc3464576ed7e9fe74e64d57
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 25 Jul 2014 11:13:49 +0200

daemon: use Popen with close_fds=True

Diffstat:
Melectrum | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum b/electrum @@ -158,7 +158,7 @@ def daemon_socket(start_daemon=True): elif not daemon_started: import subprocess logfile = open(os.path.join(config.path, 'daemon.log'),'w') - p = subprocess.Popen([__file__,"daemon","start"], stderr=logfile, stdout=logfile) + p = subprocess.Popen([__file__,"daemon","start"], stderr=logfile, stdout=logfile, close_fds=True) print "starting daemon (PID %d)"%p.pid daemon_started = True else: