Package eu.lsem.bakalarka.service.util

Examples of eu.lsem.bakalarka.service.util.ProcessOutputReader


        Runtime r = Runtime.getRuntime();
        String command = "zip -r " + f.getAbsolutePath() + " " + thesisDir.getName();
        Process p = r.exec(command, null, thesisDir.getParentFile());


        new ProcessOutputReader(p.getInputStream()).start();
        new ProcessOutputReader(p.getErrorStream()).start();
        int result = p.waitFor();

        return new FileInputStream(f);
    }
View Full Code Here

TOP

Related Classes of eu.lsem.bakalarka.service.util.ProcessOutputReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.