start a program and return its input stream concode_field_sep Process p concode_elem_sep boolean canceled concode_elem_sep boolean useBinSH concode_elem_sep String[] cmds concode_field_sep void cancel concode_elem_sep String finish concode_elem_sep String run concode_elem_sep InputStream getProcessOutputStream
OutputStream function ( ) { if ( p != null ) { throw new IOException ( "srini_string" ) ; } canceled = false ; if ( useBinSH ) { p = Utils . exec ( cmds [ 0 ] ) ; } else { p = Runtime . getRuntime ( ) . exec ( cmds ) ; } return p . getOutputStream ( ) ; }