-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
@kevva Nice library, thank you.
Trying to run jpegmini with it. The syntax I need:
jpegmini -f=input_file -o=outputfile
I tried:
['-f', execBuffer.input, '-o', execBuffer.output]['-f=', execBuffer.input, '-o=', execBuffer.output]['-f="', execBuffer.input, '" -o="', execBuffer.output, '"']['"-f=', execBuffer.input, '" "-o=', execBuffer.output, '"']
None of the above works with jpegmini.
Given that execBuffer.input and execBuffer.output are Symbols, I can't just use args: ['-f=' + execBuffer.input, '-o=' + execBuffer.output]
How about adding execBuffer.inputFile() and execBuffer.outputFile() that would return strings (e.g. using random uuid) that would later be replaced with actual filenames in all parameters?
Or maybe you have some better idea how to address it... I can do PR.
Metadata
Metadata
Assignees
Labels
No labels