Package pku.cbi.abcgrid.worker

Examples of pku.cbi.abcgrid.worker.CommandExecutor


        FileUtils.copyFileToDirectory(fileupdate, ftarget);
        String appname = FilenameUtils.concat(ftarget.getPath(), fileupdate.getName());
        StringBuffer output = new StringBuffer();
        StringBuffer error = new StringBuffer();
        //extract a self-extracting .exe file by executing this file.
        new CommandExecutor().exec(appname, output, error, new File(targetDir));
        truncate(fileupdate);
        if (removeSourceFile)
            new File(appname).delete();
    }
View Full Code Here

TOP

Related Classes of pku.cbi.abcgrid.worker.CommandExecutor

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.