You cannot access the command line through the Flash Player -
it would be a serious security error. Your only option is to
communicate with the browser and have the browser execute
option you have.
Read up on the ExternalInterface class for instructions on
how to do it.