5 Replies Latest reply on Feb 8, 2011 10:47 PM by xchg.ca

    I think I've found a bug related to NativeProcess when trying to execute with arguments containing "

    xchg.ca Level 1

      I think I've found a bug related to NativeProcess when trying to execute with arguments containing "

       

      For example I want to run something like that

       

      java -cp "c:\my lib\lib.jar" com.test.Test

       

      There is no way I can do that,


      I figured out if I do

       

                  args.push("-cp");
                  args.push(' "c:\my jars\lib\*" ');
                  args.push("com.test.Test");

       

      Creates string to execute like this

       

      java -cp \"c:\my jars\lib\*\" com.test.Test

       

      Which obviously incorrect !! because java will not be able to locate my jars anymore.

       

      I think this is bad idea that AIR makes attempt to escape quotes from command string.

       

      What is the correct lace to report development related AIR bugs ?