views:

17

answers:

1
var arg3:Vector.<String> = new Vector.<String>;
var rescJar:String = File.applicationDirectory.nativePath + "/java/test.jar";
arg3.push("-jar",rescJar,"-n "a string"");

"a string" contain 2 separate words.

+1  A: 

You can escape "" , by doing this

arg3.push("-jar",rescJar,"-n \"a string\"");
PatrickS
Nevermind, it is not possible, I choose passing a single digit instead.
single digit for a Vector.<String>?!
PatrickS