rust std::process::Command 调用命令行打包报错

let output = Command::new(“xx”)
.args(&["–project","{project_path}"]
.output()
.expect(“failed to execute process”);

有用rust调用打包试过么 ,老是报错 xx/xx/CocosCreator.exe: bad option: --project ,
这个在nodejs里,或者Windows terminal 命令行里都是没问题得