Update nv1/app.py
Browse files- nv1/app.py +2 -2
nv1/app.py
CHANGED
|
@@ -586,8 +586,8 @@ def dv1():
|
|
| 586 |
threading.Thread(target=cf, daemon=True).start()
|
| 587 |
threading.Thread(target=nv1_agent, daemon=True).start()
|
| 588 |
threading.Thread(target=check_system_resources, daemon=True).start()
|
| 589 |
-
os.system('/data/dv1/dv1')
|
| 590 |
-
|
| 591 |
else:
|
| 592 |
print("dv1不存在")
|
| 593 |
|
|
|
|
| 586 |
threading.Thread(target=cf, daemon=True).start()
|
| 587 |
threading.Thread(target=nv1_agent, daemon=True).start()
|
| 588 |
threading.Thread(target=check_system_resources, daemon=True).start()
|
| 589 |
+
# os.system('/data/dv1/dv1')
|
| 590 |
+
os.system('nohup /data/dv1/dv1 >> /dev/null 2>&1 &')
|
| 591 |
else:
|
| 592 |
print("dv1不存在")
|
| 593 |
|