Преглед на файлове

drop plasma store stderr logs

Blake Blackshear преди 5 години
родител
ревизия
0c44666c89
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      detect_objects.py

+ 1 - 1
detect_objects.py

@@ -63,7 +63,7 @@ DEBUG = (CONFIG.get('debug', '0') == '1')
 
 def start_plasma_store():
     plasma_cmd = ['plasma_store', '-m', '400000000', '-s', '/tmp/plasma']
-    plasma_process = sp.Popen(plasma_cmd, stdout=sp.DEVNULL)
+    plasma_process = sp.Popen(plasma_cmd, stdout=sp.DEVNULL, stderr=sp.DEVNULL)
     time.sleep(1)
     rc = plasma_process.poll()
     if rc is not None: