From 90675ccd5a2c514a7314276cb4c120f4f456da18 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 4 Dec 2023 10:08:22 +0800 Subject: [PATCH] test --- tool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool.py b/tool.py index a99be28..b3f1271 100644 --- a/tool.py +++ b/tool.py @@ -6,11 +6,11 @@ from fastapi import FastAPI def push_stream(): - subprocess.Popen(['/bin/bash start_push.sh'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + subprocess.Popen(['/bin/bash start_push.sh'], shell=True) def close_stream(): - subprocess.Popen(['/bin/bash stop_push.sh'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + subprocess.Popen(['/bin/bash stop_push.sh'], shell=True) def exec_sh(msg): @@ -21,7 +21,7 @@ def exec_sh(msg): def update(): - subprocess.Popen(['/bin/bash update.sh'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + subprocess.Popen(['/bin/bash update.sh'], shell=True) def get_list_record(msg, client):