public static String [ ] run ( final String [ ] cmdline ) { final CaptureStreamHandler handler = execute ( cmdline ) ; return handler . getOutput ( ) != null ? handler . getOutput ( ) : new String [ 0 ] ; }
Runs an executable and captures the output in a String array