public Process execute()
    throws IOException
    {
        List<String>  list = createCommandList();
        if (_LOG_.isDebugEnabled()) {
            _LOG_.debug( "executing command: " + list );
        }

        Process  proc = Runtime.getRuntime().exec( list.toArray( new String[0] ) );
                                             //@throws IOException
                                             //@throws SecurityException
                                             //@throws IndexOutOfBoundsException, NullPointerException

        return proc;
    }
public Process execute ( ) throws IOException { List < String > list = createCommandList ( ) ; if ( _LOG_ . isDebugEnabled ( ) ) { _LOG_ . debug ( "executing command: " + list ) ; } Process proc = Runtime . getRuntime ( ) . exec ( list . toArray ( new String [ 0 ] ) ) ; return proc ; }
Executes this command.