final String[] cmdArray = merge( asvmCommand, new String[] { targetFile } );
getLogger().debug( "[LAUNCHER] Executing command: " + Arrays.toString( cmdArray ) );
process = Runtime.getRuntime().exec( cmdArray );
new StreamPumper( process.getInputStream(), new ConsoleConsumer( "[SYSOUT]: " ) ).start();
new StreamPumper( process.getErrorStream(), new ConsoleConsumer( "[SYSERR]: " ) ).start();
}
catch ( IOException e )
{
throw new LaunchFlashPlayerException(
"Failed to launch runtime (executable file name: '" + asvmCommand[0] + "').", e );