From 2ef9acda3efc99831a31feef459dbb8f8ff65099 Mon Sep 17 00:00:00 2001 From: Karl Semich <0xloem@gmail.com> Date: Sun, 4 Sep 2016 09:10:28 -0400 Subject: don't launch zeronet browser --- backend/resilient/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/resilient') diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index ba994a6..1a145ba 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -136,7 +136,7 @@ class zeronet: running = url200('http://127.0.0.1:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D') if found and not running: - proc = subprocess.Popen([zn_script]) + proc = subprocess.Popen([zn_script], env={"DISPLAY":""}) while not running and proc.returncode == None: time.sleep(0.5) running = url200('http://127.0.0.1:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D') -- cgit v1.2.3