CMD list handled differently when shell=True
This commit is contained in:
@@ -43,15 +43,18 @@ def _interpolate(
|
||||
cmd = [
|
||||
"vspipe",
|
||||
"-c", "y4m",
|
||||
vapoursynth_file,
|
||||
f'"{vapoursynth_file}"',
|
||||
"-", "|",
|
||||
"ffmpeg", "-v", "quiet", "-stats",
|
||||
"-i", "-",
|
||||
"-c:v", "hevc_nvenc",
|
||||
"-qp", "5",
|
||||
interpolate_output
|
||||
f'"{interpolate_output}"'
|
||||
]
|
||||
|
||||
if sys.platform == 'linux':
|
||||
cmd = ' '.join(cmd)
|
||||
|
||||
try:
|
||||
subprocess.run(cmd, shell=True, check=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
||||
Reference in New Issue
Block a user