BBrother commited on
Commit
e1d87e3
1 Parent(s): 3adb62f

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -50,7 +50,7 @@ os.chdir('/etc/main/')
50
  try:
51
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
52
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
53
- process = subprocess.Popen(['python', StartBL ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
54
 
55
  url_pattern = re.compile(r'https?://\S+')
56
 
 
50
  try:
51
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
52
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
53
+ process = subprocess.Popen(['python', '/etc/main/webui.py', StartBL ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
54
 
55
  url_pattern = re.compile(r'https?://\S+')
56