returns the exit value of the process , waiting for it to finish if it has n't yet . concode_field_sep Process p concode_elem_sep Thread t concode_elem_sep ProcessOutput stdout concode_elem_sep ConsoleDisplay outputComponent concode_elem_sep Runnable postAction concode_elem_sep int exitVal concode_elem_sep ProcessOutput stderr concode_elem_sep boolean done concode_field_sep ConsoleDisplay getStdDisplay concode_elem_sep ConsoleDisplay getErrDisplay concode_elem_sep void start concode_elem_sep void run concode_elem_sep void kill concode_elem_sep void waitFor concode_elem_sep boolean isDone
int function ( ) { if ( ! done ) waitFor ( ) ; if ( done ) return exitVal ; return - 1 ; }