Class ExtendedExecutor

java.lang.Object
org.apache.commons.exec.DefaultExecutor
org.codehaus.mojo.exec.ExtendedExecutor
All Implemented Interfaces:
org.apache.commons.exec.Executor

public class ExtendedExecutor extends org.apache.commons.exec.DefaultExecutor
An executor which has the ability to use the ProcessBuilder.inheritIO() flag.
Author:
Guillaume Nodet (gnodet@gmail.com)
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class org.apache.commons.exec.DefaultExecutor Link icon

    org.apache.commons.exec.DefaultExecutor.Builder<T extends org.apache.commons.exec.DefaultExecutor.Builder<T>>
  • Field Summary Link icon

    Fields inherited from interface org.apache.commons.exec.Executor Link icon

    INVALID_EXITVALUE
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    ExtendedExecutor(boolean inheritIo)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    protected Process
    launch(org.apache.commons.exec.CommandLine command, Map<String,String> env, File dir)
     

    Methods inherited from class org.apache.commons.exec.DefaultExecutor Link icon

    builder, createThread, execute, execute, execute, execute, getExecutorThread, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectory

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • ExtendedExecutor Link icon

      public ExtendedExecutor(boolean inheritIo)
  • Method Details Link icon