private static void writeStreamsToConsole(final BufferedReader in, final BufferedReader err){
        // Writing streams to the console can be done a Thread since their actions do not modify the return boolean
        if(in != null && err != null){
            new Thread(){
                public void run(){
                    try{// Write output to the consoles
                        String line;
                        // Input Stream console
                        while((line = in.readLine()) != null){ System.out.println(line); }
                        // Error Stream Console
                        while((line = err.readLine()) != null){ System.err.println(line); }
                    }catch (IOException e){ e.printStackTrace(); }
                }
            }.start();
        }
    }