summaryrefslogtreecommitdiff
path: root/backend/resilient
diff options
context:
space:
mode:
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')