I am creating a desktop application using Flash Builder, and I need to run the .exe program for it. I downloaded and installed the latest AIR SDK, put it in the sdks folder of Flash Builder and used my project. Now I have no compiler errors, but:
if(NativeProcess.isSupported) { var file:File = new File("C:\Torres.exe"); var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo(); nativeProcessStartupInfo.executable = file; var process:NativeProcess = new NativeProcess(); process.start(nativeProcessStartupInfo); }
I checked and it never goes into the if block. Why not support nativeprocess? Any ideas?
source share