When execute the svn command to redirect to a patch file in shell, like powershell,
svn diff > rb.diff, it will be successfully create a patch file. But when i call the same command in Command in Rust like following: Command::new("svn").arg("diff > rb.diff").output().expect("Failed to execute command!);
The error will be reported as follow:
svn: E020024: Error resolving case of '>'
So, i wanna know what wrong with that call in rust?