BBrother commited on
Commit
e31d907
1 Parent(s): 4299048

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -35,7 +35,7 @@ os.chdir('/bushu/ui')
35
  try:
36
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
- process = subprocess.Popen(['python', '/bushu/ui/launch.py'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41
 
 
35
  try:
36
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
+ process = subprocess.Popen(['python', '/bushu/ui/launch.py', '--port 7861'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41