Sending a command and receiving a response from actionscript 3 / air

I am trying to send a command to the command line using the air / as3 application. I saw some documentation on the invoke command, but I wonder if anyone else has the same set of circumstances.

basically, the user will check the fields and fill out a form, which will then be written as arguments for the application that will do the job. this application takes these arguments as well as a place to store the output file and processes the file.

therefore, you can send commands to the command line using as3 / air, and in addition, it is possible to receive the received message from the command line.

I was looking a bit for this information, but it seems that google returns a lot of “how to compile as3 from the command line”, and there are very few articles regarding air / as3 and possible interactions with the command line system.

Thanks in advance, Nathan

+3
source share
2 answers

there is no way to run applications from AIR (explanation here ), and also not send anything to the command line ... however, mike cameras created CommandProxy , which allows you to do this by interacting with a C # compiler ...

Greetz

back2dos

+4
source

AIR 2.0 has its own process API. Through which it is now possible.

+2
source

Source: https://habr.com/ru/post/1714189/


All Articles