summaryrefslogtreecommitdiff
path: root/backend/resilient
diff options
context:
space:
mode:
authorKarl Semich <0xloem@gmail.com>2016-09-04 09:10:28 -0400
committerKarl Semich <0xloem@gmail.com>2016-09-04 09:10:28 -0400
commit2ef9acda3efc99831a31feef459dbb8f8ff65099 (patch)
tree9468edd6938d4e017dae844ba66257d8ca7b34f2 /backend/resilient
parentf045980e46a49d36b6548849974a0e7779cf3287 (diff)
downloadstandingwithresilience-2ef9acda3efc99831a31feef459dbb8f8ff65099.tar.gz
standingwithresilience-2ef9acda3efc99831a31feef459dbb8f8ff65099.zip
don't launch zeronet browser
Diffstat (limited to 'backend/resilient')
-rw-r--r--backend/resilient/__init__.py2
1 files changed, 1 insertions, 1 deletions
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')