AdobeAir does not launch MacOS application
===

I have the folowing code that should launch a mac application and the log shows that it reaches only to "fs.writeUTFBytes("3\n");". I tested the path(Config.CURRENT_DIRECTORY) so that it points to the .app and .app/Contents/MacOS/[Name] but none works.

Any idea?
(Air Runtime is 2.6)


    var file:File = File.applicationStorageDirectory.resolvePath("daslog.txt");
				var fs:FileStream = new FileStream();
				
					fs.open(file, FileMode.APPEND);
				fs.writeUTFBytes("v1.0");
				
				var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo(); 
				
				var exec:File = new File(Config.CURRENT_DIRECTORY);
				fs.writeUTFBytes("" + exec.nativePath + " + " + exec.exists + "\n");
				if (exec.exists)
				{
					fs.writeUTFBytes("1\n");
					nativeProcessStartupInfo.executable = exec;
					fs.writeUTFBytes("2\n");
					var process:NativeProcess = new NativeProcess();
					fs.writeUTFBytes("3\n");
					try
					{
						process.start(nativeProcessStartupInfo);
						fs.writeUTFBytes("Application launched\n");
					}
					catch (e:Error)
					{
						fs.writeUTFBytes(e.getStackTrace());
					}
				}
				fs.writeUTFBytes("Close stream.\n");
				fs.close();

Thanks