Does your external app take any command line arguments ? If yes can you please share a code sample of how you are launching that app through AIR.
Yes, my application is taking command line aurguments. Here is the code:
var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
nativeProcessStartupInfo.arguments = aurguments; // Array of aurguments
nativeProcessStartupInfo.executable = file;
this.process = new NativeProcess();
Can you be more specific on how are you defining this argument list? It has to be vector with each and every argument pushed into it.
Well - its taking the following command line parameters
- file to save
- extension to save the above file
- quality of the picture
and Im using the following code
- aurguments.push("-f filename.png");
- aurguments.push("-q 100");
Please let me know if there is something you can help me.
Okie. Can you try breaking the code further & let me know if you still see the prompt ?
This issue will be fixed in the final AIR 2 release.The console window will no longer appear.
(This is actually standard Windows behavior. For example, if you open a console app from a console app, you don't get a command window, but if you open on from a non-console app, you do.)
yes -- I can still see the Dos Prompt Window.