public void run() {
        try {


            while ((outEXELine = bufferedReader.readLine()+"\n") != null && exitValue()==1) {
               if (exitValue()==0) {
                    closeProcess();
                    break;
                }else{

                outEXE=outEXE.concat(outEXELine);
                stateChanged();

                }
                try {
                    Thread.sleep(50);
                } catch (InterruptedException ex) {
                }




            }
        } catch (IOException ex) {
            System.err.println(ex);
        }
    }