fix: race condition exit_file z620 — rm sync avant bg ffmpeg
This commit is contained in:
@@ -394,7 +394,8 @@ def _extract_on_remote_host(job_id: int, worker: dict, src_host: str, src_path:
|
||||
dur = 0.0
|
||||
frames_est = max(1, int(dur * FPS))
|
||||
|
||||
_ssh_via(worker, src_host, f"mkdir -p {shlex.quote(remote_tmp)}")
|
||||
_ssh_via(worker, src_host,
|
||||
f"rm -f {shlex.quote(exit_file)}" + f" && rm -rf {shlex.quote(remote_tmp)}" + f" && mkdir -p {shlex.quote(remote_tmp)}")
|
||||
bg = (
|
||||
f"rm -f {shlex.quote(exit_file)}; "
|
||||
f"ffmpeg -hide_banner -loglevel error -i {shlex.quote(src_path)} "
|
||||
|
||||
Reference in New Issue
Block a user