mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-17 08:35:08 -04:00
Use subprocess.call instead of Popen
This commit is contained in:
parent
f9f85a89e2
commit
1c06eab7c4
1 changed files with 3 additions and 4 deletions
|
@ -910,8 +910,8 @@ class Video(Media):
|
|||
file_list.write(text)
|
||||
|
||||
# Use ffmpeg to concat the files
|
||||
p = subprocess.Popen(
|
||||
[
|
||||
subprocess.call(
|
||||
(
|
||||
"ffmpeg",
|
||||
"-f",
|
||||
"concat",
|
||||
|
@ -924,9 +924,8 @@ class Video(Media):
|
|||
"-loglevel",
|
||||
"panic",
|
||||
self.path,
|
||||
]
|
||||
)
|
||||
)
|
||||
p.wait()
|
||||
|
||||
os.remove(file_list_path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue