Class ExecProcessHandler

  • All Implemented Interfaces:
    com.intellij.execution.KillableProcess, com.intellij.execution.TaskExecutor, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx

    public class ExecProcessHandler
    extends com.intellij.execution.process.KillableProcessHandler
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.intellij.execution.process.OSProcessHandler

        com.intellij.execution.process.OSProcessHandler.Silent
      • Nested classes/interfaces inherited from class com.intellij.execution.process.BaseOSProcessHandler

        com.intellij.execution.process.BaseOSProcessHandler.SimpleOutputReader
    • Field Summary

      • Fields inherited from class com.intellij.execution.process.BaseProcessHandler

        myCharset, myCommandLine, myPresentableName, myProcess, myWaitFor
      • Fields inherited from class com.intellij.execution.process.ProcessHandler

        SILENTLY_DESTROY_ON_CLOSE, TERMINATION_REQUESTED
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecProcessHandler​(@NotNull java.lang.Process process, java.lang.String commandLine, @Nullable java.nio.charset.Charset charset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected @NotNull java.io.Reader createProcessErrReader()  
      protected @NotNull java.io.Reader createProcessOutReader()  
      protected com.intellij.util.io.BaseOutputReader.Options readerOptions()  
      • Methods inherited from class com.intellij.execution.process.KillableProcessHandler

        canKillProcess, destroyProcessGracefully, destroyProcessImpl, doDestroyProcess, killProcess, mediate, notifyProcessTerminated, setShouldKillProcessSoftly, setShouldKillProcessSoftlyWithWinP, shouldKillProcessSoftly
      • Methods inherited from class com.intellij.execution.process.OSProcessHandler

        checkEdtAndReadAction, deleteFileOnTermination, killProcessTree, onOSProcessTerminated, processCanBeKilledByOS, processHasSeparateErrorStream, setHasPty, setShouldDestroyProcessRecursively, shouldDestroyProcessRecursively, waitFor, waitFor
      • Methods inherited from class com.intellij.execution.process.BaseOSProcessHandler

        createErrorDataReader, createErrorDataReader, createOutputDataReader, createOutputDataReader, executeOnPooledThread, executeTask, startNotify, toString
      • Methods inherited from class com.intellij.execution.process.BaseProcessHandler

        closeStreams, detachIsDefault, detachProcessImpl, getCharset, getCommandLine, getProcess, getProcessInput
      • Methods inherited from class com.intellij.execution.process.ProcessHandler

        addProcessListener, addProcessListener, destroyProcess, detachProcess, getExitCode, isProcessTerminated, isProcessTerminating, isSilentlyDestroyOnClose, isStartNotified, notifyProcessDetached, notifyTextAvailable, removeProcessListener
      • Methods inherited from class com.intellij.openapi.util.UserDataHolderBase

        changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExecProcessHandler

        public ExecProcessHandler​(@NotNull
                                  @NotNull java.lang.Process process,
                                  java.lang.String commandLine,
                                  @Nullable
                                  @Nullable java.nio.charset.Charset charset)
        Parameters:
        process - process
        commandLine - must not be empty (for correct thread attribution in the stacktrace)
        charset - charset
    • Method Detail

      • readerOptions

        protected com.intellij.util.io.BaseOutputReader.Options readerOptions()
        Overrides:
        readerOptions in class com.intellij.execution.process.OSProcessHandler
      • createProcessOutReader

        @NotNull
        protected @NotNull java.io.Reader createProcessOutReader()
        Overrides:
        createProcessOutReader in class com.intellij.execution.process.BaseOSProcessHandler
      • createProcessErrReader

        @NotNull
        protected @NotNull java.io.Reader createProcessErrReader()
        Overrides:
        createProcessErrReader in class com.intellij.execution.process.BaseOSProcessHandler