|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.gradle.process.BaseExecSpecorg.gradle.process.ProcessForkOptions
public interface BaseExecSpec extends ProcessForkOptions
Specifies options for launching a child process.
| Method Summary | |
|---|---|
java.util.List
|
getCommandLine()
Returns the full command line, including the executable plus its arguments. |
java.io.OutputStream
|
getErrorOutput()
Returns the output stream to consume standard error from the process executing the command. |
java.io.InputStream
|
getStandardInput()
Returns the standard input stream for the process executing the command. |
java.io.OutputStream
|
getStandardOutput()
Returns the output stream to consume standard output from the process executing the command. |
boolean
|
isIgnoreExitValue()
Tells whether a non-zero exit value is ignored, or an exception thrown. |
BaseExecSpec
|
setErrorOutput(java.io.OutputStream outputStream)
Sets the output stream to consume standard error from the process executing the command. |
BaseExecSpec
|
setIgnoreExitValue(boolean ignoreExitValue)
Sets whether a non-zero exit value is ignored, or an exception thrown. |
BaseExecSpec
|
setStandardInput(java.io.InputStream inputStream)
Sets the standard input stream for the process executing the command. |
BaseExecSpec
|
setStandardOutput(java.io.OutputStream outputStream)
Sets the output stream to consume standard output from the process executing the command. |
| Methods inherited from interface ProcessForkOptions | |
|---|---|
| copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir |
| Method Detail |
|---|
public java.util.List getCommandLine()
public java.io.OutputStream getErrorOutput()
public java.io.InputStream getStandardInput()
public java.io.OutputStream getStandardOutput()
public boolean isIgnoreExitValue()
false.
public BaseExecSpec setErrorOutput(java.io.OutputStream outputStream)
outputStream - The standard output error stream for the process. Must not be null.
public BaseExecSpec setIgnoreExitValue(boolean ignoreExitValue)
ignoreExitValue - whether a non-zero exit value is ignored, or an exception thrown
public BaseExecSpec setStandardInput(java.io.InputStream inputStream)
inputStream - The standard input stream for the process. Must not be null.
public BaseExecSpec setStandardOutput(java.io.OutputStream outputStream)
outputStream - The standard output stream for the process. Must not be null.
Groovy Documentation