I have a Adobe Air app for MAC that downloads a zip file then decompresses it uzing the fzip library... After decompression i try executing a .app file with NativeProcess API... But after the decompression the file loses permission to execute enven if i try to manually execute the .app it doesn't open... But if I change the .app permissions with command line the .app opens even with the NativeProcess API.
So I would need to change the file permissions through Air API... or run a command-line to change ther permission through Air API.
I also have this application to Windows version (exe) and it works withou any problem. But in Mac when decompressing the file loses permissions.
... or launch /usr/bin/chmod to change the permissions (via NativeApp API) and then execute your .app?