mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-18 00:54:50 -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)
|
file_list.write(text)
|
||||||
|
|
||||||
# Use ffmpeg to concat the files
|
# Use ffmpeg to concat the files
|
||||||
p = subprocess.Popen(
|
subprocess.call(
|
||||||
[
|
(
|
||||||
"ffmpeg",
|
"ffmpeg",
|
||||||
"-f",
|
"-f",
|
||||||
"concat",
|
"concat",
|
||||||
|
@ -924,9 +924,8 @@ class Video(Media):
|
||||||
"-loglevel",
|
"-loglevel",
|
||||||
"panic",
|
"panic",
|
||||||
self.path,
|
self.path,
|
||||||
]
|
)
|
||||||
)
|
)
|
||||||
p.wait()
|
|
||||||
|
|
||||||
os.remove(file_list_path)
|
os.remove(file_list_path)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue