Type Params | Return Type | Name and description |
---|---|---|
|
BaseExecSpec |
errorOutput(OutputStream outputStream) Set the stream where error output should be sent to for this process when executing. |
|
BaseExecSpec |
ignoreExitValue(boolean flag) Determine whether the exit value should be ignored. |
|
void |
setWorkingDir(File workDir) Set the working directory for the execution. |
|
BaseExecSpec |
standardInput(InputStream inputStream) Set the stream where standard input should be read from for this process when executing. |
|
BaseExecSpec |
standardOutput(OutputStream outputStream) Set the stream where standard output should be sent to for this process when executing. |
Methods inherited from class | Name |
---|---|
interface BaseExecSpec |
setStandardOutput, setErrorOutput, setIgnoreExitValue, isIgnoreExitValue, getStandardInput, setStandardInput, getStandardOutput, getErrorOutput, getCommandLine, setWorkingDir, setWorkingDir, workingDir, setEnvironment, getEnvironment, getWorkingDir, getExecutable, copyTo, executable, setExecutable, setExecutable, environment, environment |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Set the stream where error output should be sent to for this process when executing.
outputStream
- Output stream to use.Determine whether the exit value should be ignored.
flag
- Whether exit value should be ignored.Set the working directory for the execution.
This version has been introduced to deal with the API change in Gradle 4.0.
workDir
- Working directory as a java.io.File
instance.Set the stream where standard input should be read from for this process when executing.
inputStream
- Inout stream to use.Set the stream where standard output should be sent to for this process when executing.
outputStream
- Output stream to use.