@Override public void run() {
        System.out.println("Task " + id.incrementAndGet() + ". " + cmd);
        //System.out.println(cmd);
        
        if (!test)
        try {
            Process p1 = Runtime.getRuntime().exec(cmd);
            BufferedReader reader = new BufferedReader(new InputStreamReader(p1.getInputStream()));
            String line1 = reader.readLine();
            while (line1 != null) {
            System.out.print(line1 + "\n");
            line1 = reader.readLine();
            }
        } catch(IOException e1) {  System.out.println("IOException: " + e1.getMessage()); }
    }