public class PtyCommandLine extends GeneralCommandLine
GeneralCommandLine.ParentEnvironmentType
Modifier and Type | Field and Description |
---|---|
static int |
MAX_COLUMNS |
Constructor and Description |
---|
PtyCommandLine() |
PtyCommandLine(GeneralCommandLine original) |
PtyCommandLine(java.util.List<java.lang.String> command) |
Modifier and Type | Method and Description |
---|---|
boolean |
isConsoleMode() |
static boolean |
isEnabled() |
void |
setConsoleMode(boolean consoleMode)
Deprecated.
|
void |
setInitialColumns(int initialColumns)
Deprecated.
|
void |
setInitialRows(int initialRows)
Deprecated.
|
void |
setUseCygwinLaunch(boolean useCygwinLaunch)
Deprecated.
|
protected java.lang.Process |
startProcess(java.util.List<java.lang.String> commands) |
java.lang.Process |
startProcessWithPty(java.util.List<java.lang.String> commands) |
PtyCommandLine |
withConsoleMode(boolean consoleMode) |
PtyCommandLine |
withInitialColumns(int initialColumns) |
PtyCommandLine |
withInitialRows(int initialRows) |
PtyCommandLine |
withUseCygwinLaunch(boolean useCygwinLaunch) |
addParameter, addParameters, addParameters, buildProcess, createProcess, getCharset, getCommandLineList, getCommandLineString, getCommandLineString, getEffectiveEnvironment, getEnvironment, getExePath, getInputFile, getParametersList, getParentEnvironment, getParentEnvironmentType, getPreparedCommandLine, getPreparedCommandLine, getUserData, getWorkDirectory, inescapableQuote, isPassParentEnvironment, isRedirectErrorStream, prepareCommandLine, putUserData, setCharset, setExePath, setPassParentEnvironment, setRedirectErrorStream, setupEnvironment, setWorkDirectory, setWorkDirectory, toString, withCharset, withEnvironment, withEnvironment, withExePath, withInput, withParameters, withParameters, withParentEnvironmentType, withRedirectErrorStream, withWorkDirectory, withWorkDirectory
public static final int MAX_COLUMNS
public PtyCommandLine()
public PtyCommandLine(java.util.List<java.lang.String> command)
public PtyCommandLine(GeneralCommandLine original)
public static boolean isEnabled()
@Deprecated public void setUseCygwinLaunch(boolean useCygwinLaunch)
withUseCygwinLaunch(boolean)
@Deprecated public void setConsoleMode(boolean consoleMode)
withConsoleMode(boolean)
@Deprecated public void setInitialColumns(int initialColumns)
withInitialColumns(int)
@Deprecated public void setInitialRows(int initialRows)
withInitialRows(int)
public PtyCommandLine withUseCygwinLaunch(boolean useCygwinLaunch)
public PtyCommandLine withConsoleMode(boolean consoleMode)
public boolean isConsoleMode()
public PtyCommandLine withInitialColumns(int initialColumns)
public PtyCommandLine withInitialRows(int initialRows)
protected java.lang.Process startProcess(java.util.List<java.lang.String> commands) throws java.io.IOException
startProcess
in class GeneralCommandLine
java.io.IOException
public java.lang.Process startProcessWithPty(java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException