views:

58

answers:

2

Is there any way to create an Air 2 program that runs just in the command line? (no windows, no gui, etc)

Something similar to Windows Ping program. It would accept arguments and then output std out.

A: 

You might want to check out CommandProxy as a possible solution.

CM
Which part of CommandProxy should I be looking at? As far as I can tell, AIR 2 beta antiquates CommandProxy.
Luke
A: 

No, AIR is not really meant for creating command-line applications - it's just not the right tool for the job.

You would be better off looking at implementing your application in Java, C#/VB.NET, Python or Groovy (and innumerable other more suitable languages).

If you really have your heart set on Actionscript/Javascript-style syntax then you should look into Haxe.

Sly_cardinal