@@ -341,6 +341,8 @@ class oa2RtspStartView(TemplateView):
back = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE). \
communicate(timeout=10)
except Exception as e:
+ logger.info('开始打印------------repr--------except-------')
+ logger.info(repr(e))
return repr(e)
else:
print("back0----", back[0].decode()) # 注意需要进行解码操作,默认输出的是字节