With AIR 2.0 you now can:
if(NativeProcess.isSupported)
{
var file:File = File.desktopDirectory;
file = file.resolvePath("StyleLookupold.exe");
var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
nativeProcessStartupInfo.executable = file;
var process:NativeProcess = new NativeProcess();
process.start(nativeProcessStartupInfo);
}
You also need to add this to your descriptor file.
<supportedProfiles>extendedDesktop</supportedProfiles>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…