Carlos s commited on
Commit
14b8703
·
verified ·
1 Parent(s): 1183994

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +4 -1
api/ltx_server.py CHANGED
@@ -489,7 +489,10 @@ class VideoService:
489
  )
490
 
491
  print(f"[DEBUG] Crossfade concat:\n{cmd}\n")
492
- subprocess.run(cmd, shell=False, check=False)
 
 
 
493
  print(f"✅ Vídeo final criado: {out_path}")
494
 
495
 
 
489
  )
490
 
491
  print(f"[DEBUG] Crossfade concat:\n{cmd}\n")
492
+
493
+ args = shlex.split(cmd) # transforma a string em lista de args
494
+ subprocess.run(args, shell=False, check=True)
495
+
496
  print(f"✅ Vídeo final criado: {out_path}")
497
 
498