Hi! I just want to ask since i noticed the string command dont accept double quotes or single quotes on input files? how do I add them since some of my filenames have spaces. Or is there an alternative way to escape spaces in filenames on input files? Thanks
You are right, execute method accepts a single string and splits it using spaces.
There is an overloaded execute method with array input in Android and an executeWithArray method for IOS which accepts NSArray. You can build your command as array, deciding where to split your command, and use one of these methods depending on your platform.
@fayte0618 do you still need help, can we close this issue?
I'm closing this issue, you can re-open it if you need help.
Most helpful comment
You are right,
executemethod accepts a single string and splits it using spaces.There is an overloaded
executemethod with array input in Android and anexecuteWithArraymethod for IOS which accepts NSArray. You can build your command as array, deciding where to split your command, and use one of these methods depending on your platform.