var arg3:Vector.<String> = new Vector.<String>;
var rescJar:String = File.applicationDirectory.nativePath + "/java/test.jar";
arg3.push("-jar",rescJar,"-n "a string"");
“一个字符串”包含两个单独的单词。
答案 0 :(得分:1)
你可以通过这样做逃避“”
arg3.push("-jar",rescJar,"-n \"a string\"");