executes a single command , waits for its termination and returns the result concode_field_sep HandlerThread mCallbackThread concode_elem_sep List<String> mLastOutput concode_elem_sep boolean mCommandRunning concode_elem_sep int mLastExitCode concode_elem_sep OnCommandResultListener commandResultListener concode_elem_sep Shell.Interactive mShell concode_field_sep boolean startShell concode_elem_sep void waitForCommandFinished concode_elem_sep void dispose concode_elem_sep void finalize concode_elem_sep int executeWithBusybox concode_elem_sep void onCommandResult
int function ( String arg0 , List < String > arg1 ) { if ( mShell == null ) throw new IllegalStateException ( "srini_string" ) ; mCommandRunning = true ; mShell . addCommand ( arg0 , 0 , commandResultListener ) ; waitForCommandFinished ( ) ; if ( arg1 != null ) arg1 . addAll ( mLastOutput ) ; return mLastExitCode ; }