[tor-commits] [obfs-flash/master] use the autokill workaround mentioned in 10006

infinity0 at torproject.org infinity0 at torproject.org
Tue Feb 11 14:29:27 UTC 2014


commit 14f5823a0965b29aa8b41682295b1a75ab78c152
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Tue Oct 29 21:09:57 2013 +0000

    use the autokill workaround mentioned in 10006
---
 obfs-flash-client |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/obfs-flash-client b/obfs-flash-client
index 93d2223..4f44bbc 100755
--- a/obfs-flash-client
+++ b/obfs-flash-client
@@ -7,6 +7,8 @@ import sys
 from collections import namedtuple
 from functools import partial
 
+if sys.platform == 'win32':
+    os.environ["KILL_CHILDREN_ON_DEATH"] = "1"
 from pyptlib.util import parse_addr_spec
 from pyptlib.util.subproc import auto_killall, Popen
 from pyptlib.client import ClientTransportPlugin





More information about the tor-commits mailing list