public class KillableColoredProcessHandler extends ColoredProcessHandler implements KillableProcess
ColoredProcessHandler)
and "soft-kill" feature (see KillableProcessHandler).| Modifier and Type | Class and Description |
|---|---|
static class |
KillableColoredProcessHandler.Silent |
BaseOSProcessHandler.SimpleOutputReadermyCharset, myCommandLine, myPresentableName, myProcess, myWaitForSILENTLY_DESTROY_ON_CLOSE, TERMINATION_REQUESTED| Constructor and Description |
|---|
KillableColoredProcessHandler(GeneralCommandLine commandLine) |
KillableColoredProcessHandler(GeneralCommandLine commandLine,
boolean withMediator)
|
KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine)
commandLine must not be empty (for correct thread attribution in the stacktrace) |
KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine,
java.nio.charset.Charset charset)
commandLine must not be empty (for correct thread attribution in the stacktrace) |
KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine,
java.nio.charset.Charset charset,
java.util.Set<? extends java.io.File> filesToDelete)
commandLine must not be empty (for correct thread attribution in the stacktrace) |
| Modifier and Type | Method and Description |
|---|---|
static KillableColoredProcessHandler |
create(GeneralCommandLine commandLine)
Deprecated.
|
addColoredTextListener, coloredTextAvailable, notifyColoredListeners, notifyTextAvailablecanKillProcess, destroyProcessGracefully, destroyProcessImpl, doDestroyProcess, killProcess, mediate, notifyProcessTerminated, setShouldKillProcessSoftly, setShouldKillProcessSoftlyWithWinP, shouldKillProcessSoftlycheckEdtAndReadAction, deleteFileOnTermination, getDefaultModality, killProcessTree, onOSProcessTerminated, processCanBeKilledByOS, processHasSeparateErrorStream, readerOptions, setHasPty, setShouldDestroyProcessRecursively, shouldDestroyProcessRecursively, waitFor, waitForcreateErrorDataReader, createOutputDataReader, createProcessErrReader, createProcessOutReader, executeOnPooledThread, executeTask, startNotify, toStringcloseStreams, detachIsDefault, detachProcessImpl, getCharset, getCommandLine, getProcess, getProcessInputaddProcessListener, addProcessListener, destroyProcess, detachProcess, getExitCode, isProcessTerminated, isProcessTerminating, isSilentlyDestroyOnClose, isStartNotified, notifyProcessDetached, removeProcessListenerchangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanKillProcess, killProcesspublic KillableColoredProcessHandler(GeneralCommandLine commandLine) throws ExecutionException
ExecutionExceptionpublic KillableColoredProcessHandler(GeneralCommandLine commandLine, boolean withMediator) throws ExecutionException
ExecutionExceptionpublic KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine)
commandLine must not be empty (for correct thread attribution in the stacktrace)public KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine,
java.nio.charset.Charset charset)
commandLine must not be empty (for correct thread attribution in the stacktrace)public KillableColoredProcessHandler(java.lang.Process process,
java.lang.String commandLine,
java.nio.charset.Charset charset,
java.util.Set<? extends java.io.File> filesToDelete)
commandLine must not be empty (for correct thread attribution in the stacktrace)@Deprecated public static KillableColoredProcessHandler create(GeneralCommandLine commandLine) throws ExecutionException
KillableColoredProcessHandler(GeneralCommandLine, boolean)ExecutionException