BBrother commited on
Commit
aa9f08a
·
1 Parent(s): 915d2c5

Update launch.py

Browse files
Files changed (1) hide show
  1. launch.py +1 -1
launch.py CHANGED
@@ -31,7 +31,7 @@ subprocess.run(["cd", "/bushu/ui"], shell=True)
31
  try:
32
  # 在try块中运行v2_3.py,并将输出重定向到日志文件
33
  with open(log_file, 'a') as log_file_handle:
34
- subprocess.run(['python', 'launch.py'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
35
  except subprocess.CalledProcessError as e:
36
  # 捕获异常并记录到日志文件
37
  logging.exception(f"程序发生异常: {e}")
 
31
  try:
32
  # 在try块中运行v2_3.py,并将输出重定向到日志文件
33
  with open(log_file, 'a') as log_file_handle:
34
+ subprocess.run(['python', '/bushu/ui/launch.py'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
35
  except subprocess.CalledProcessError as e:
36
  # 捕获异常并记录到日志文件
37
  logging.exception(f"程序发生异常: {e}")