mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
Merge pull request #1 from mothlyme/master
Fix a bug where pipe symbols break execution
This commit is contained in:
commit
a0cda2755e
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ def setup_command(target_host):
|
|||
# Parse and re-quote any problematic arguments
|
||||
for arg in cli_ffmpeg_args:
|
||||
# Match bad shell characters: * ( ) whitespace
|
||||
if re.search('[*()\s]', arg):
|
||||
if re.search('[*()\s|]', arg):
|
||||
rffmpeg_command.append('"{}"'.format(arg))
|
||||
else:
|
||||
rffmpeg_command.append('{}'.format(arg))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue