Package scap.check.exec

Examples of scap.check.exec.IORedirect


    this.executor.setJarName(ocilJarName);

    log.debug("Executing OCILQI using: "+this.executor.buildExecString());

    Process p = this.executor.execute();
    IORedirect ioRedirect = new IORedirect(p.getInputStream(), out,
        this.verboseOutput);
    ioRedirect.setProcessName(ocilJarName + " : " + this.inputFile.getName());

    Thread t = ioRedirect;
    t.start();
    t.join();
View Full Code Here


        }

        Process p = executor.execute(arguments);

        String processName = ovalBin + " : " + this.getDefinitionXmlFile().getName();
        IORedirect  ioRedirect = new IORedirect( p.getInputStream(), out, outputInfoAndErrorsToSTDOUT );
        ioRedirect.setProcessName( processName );

        Thread t = ioRedirect; //totally unnecessary, just to make it clear that IORedirect is a Thread object
        t.start();
        t.join();
       
View Full Code Here

TOP

Related Classes of scap.check.exec.IORedirect

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.