更新
This commit is contained in:
parent
76a99222f4
commit
e729bb3ce7
2
main.py
2
main.py
@ -37,7 +37,7 @@ async def create_upload_file(file: UploadFile = File(...)):
|
||||
copyfileobj(file.file, buffer)
|
||||
|
||||
# 执行外部程序
|
||||
command = [
|
||||
command = [ # coderdbc -dbc ./DMK-RP-77A.dbc -out ./gen -drvname CANmatrix -nodeutils -rw -driverdir -gendate
|
||||
os.path.join(folder_path, "coderdbc"),
|
||||
"-dbc", file_location,
|
||||
"-out", os.path.join(folder_path, "gen"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user