public static class KillableColoredProcessHandler.Silent extends KillableColoredProcessHandler
KillableColoredProcessHandler.Silent
BaseOSProcessHandler.SimpleOutputReader
myCharset, myCommandLine, myPresentableName, myProcess, myWaitFor
SILENTLY_DESTROY_ON_CLOSE, TERMINATION_REQUESTED
Constructor and Description |
---|
Silent(GeneralCommandLine commandLine) |
Silent(java.lang.Process process,
java.lang.String commandLine,
java.nio.charset.Charset charset,
java.util.Set<? extends java.io.File> filesToDetele) |
Modifier and Type | Method and Description |
---|---|
protected BaseOutputReader.Options |
readerOptions()
Rule of thumb: use
BaseOutputReader.Options#BLOCKING for short-living process that you never want to "disconnect" from. |
create
addColoredTextListener, coloredTextAvailable, notifyColoredListeners, notifyTextAvailable
canKillProcess, destroyProcessGracefully, destroyProcessImpl, doDestroyProcess, killProcess, mediate, notifyProcessTerminated, setShouldKillProcessSoftly, setShouldKillProcessSoftlyWithWinP, shouldKillProcessSoftly
checkEdtAndReadAction, deleteFileOnTermination, getDefaultModality, killProcessTree, onOSProcessTerminated, processCanBeKilledByOS, processHasSeparateErrorStream, setHasPty, setShouldDestroyProcessRecursively, shouldDestroyProcessRecursively, waitFor, waitFor
createErrorDataReader, createOutputDataReader, createProcessErrReader, createProcessOutReader, executeOnPooledThread, executeTask, startNotify, toString
closeStreams, detachIsDefault, detachProcessImpl, getCharset, getCommandLine, getProcess, getProcessInput
addProcessListener, addProcessListener, destroyProcess, detachProcess, getExitCode, isProcessTerminated, isProcessTerminating, isSilentlyDestroyOnClose, isStartNotified, notifyProcessDetached, removeProcessListener
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canKillProcess, killProcess
public Silent(GeneralCommandLine commandLine) throws ExecutionException
ExecutionException
public Silent(java.lang.Process process, java.lang.String commandLine, java.nio.charset.Charset charset, java.util.Set<? extends java.io.File> filesToDetele)
protected BaseOutputReader.Options readerOptions()
OSProcessHandler
BaseOutputReader.Options#BLOCKING
for short-living process that you never want to "disconnect" from.
See BaseDataReader.SleepingPolicy
for the whole story.readerOptions
in class OSProcessHandler