Skip to content

Commit

Permalink
Update grpc-ffmpeg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
psych0d0g authored Oct 21, 2024
1 parent a04d300 commit 7ea8a4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/grpc-ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ async def run_command(command, use_ssl):
# Construct the command using the script name and arguments
command = [script_name] + sys.argv[1:]
command_str = ' '.join(command)

for arg in sys.argv[1:]:
if ' ' in arg:
command+= '"{}" '.format(arg) ; # Put the quotes back in
else:
command+="{} ".format(arg) ; # Assume no space => no quotes
# Run the command
asyncio.run(run_command(command, USE_SSL))

0 comments on commit 7ea8a4c

Please sign in to comment.