We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot run this command: ffmpeg.exe -vf scale='min(250,iw)':-1 ...
The text was updated successfully, but these errors were encountered:
When there are ' or " in an argument, the solution is to wrap the argument with shellArgument as it will properly format the parameter:
'
"
shellArgument
import 'package:process_run/shell.dart'; void main(List<String> arguments) async { // Incorrect await run("echo scale='min(250,iw)':-1"); // Correct await run('echo ${shellArgument("scale='min(250,iw)':-1")}'); }
should give:
$ echo scale=min(250,iw):-1 scale=min(250,iw):-1 $ echo "scale='min(250,iw)':-1" scale='min(250,iw)':-1
Sorry, something went wrong.
Thanks.
No branches or pull requests
I cannot run this command:
ffmpeg.exe -vf scale='min(250,iw)':-1 ...
The text was updated successfully, but these errors were encountered: