ExecSpec

Specified the options for executing some command.

Inheritors

Functions

Link copied to clipboard
abstract fun args(args: Iterable<out Any>): ExecSpec
abstract fun args(args: Array<Any>): ExecSpec
Adds arguments for the command to be executed.
Link copied to clipboard
abstract fun commandLine(args: Iterable<out Any>): ExecSpec
abstract fun commandLine(args: Array<Any>): ExecSpec
Sets the full command line, including the executable to be executed plus its arguments.
Link copied to clipboard
Link copied to clipboard
abstract fun environment(environmentVariables: Map<String, out Any>): ProcessForkOptions
Link copied to clipboard
inline fun ProcessForkOptions.environment(vararg environmentVariables: Pair<String, Any?>): ProcessForkOptions

Kotlin extension function for org.gradle.process.ProcessForkOptions.environment.

Link copied to clipboard
abstract fun executable(executable: Any): ProcessForkOptions
Link copied to clipboard
abstract fun getArgs(): List<String>
Returns the arguments for the command to be executed.
Link copied to clipboard
Argument providers for the application.
Link copied to clipboard
abstract fun getCommandLine(): List<String>
Link copied to clipboard
abstract fun getEnvironment(): Map<String, Any>
Link copied to clipboard
Link copied to clipboard
abstract fun getExecutable(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getWorkingDir(): File
Link copied to clipboard
abstract fun isIgnoreExitValue(): Boolean
Link copied to clipboard
abstract fun setArgs(args: Iterable<out Any>): ExecSpec
abstract fun setArgs(args: List<String>): ExecSpec
Sets the arguments for the command to be executed.
Link copied to clipboard
abstract fun setCommandLine(args: Iterable<out Any>)
abstract fun setCommandLine(args: Array<Any>)
abstract fun setCommandLine(args: List<String>)
Sets the full command line, including the executable to be executed plus its arguments.
Link copied to clipboard
abstract fun setEnvironment(environmentVariables: Map<String, out Any>)
Link copied to clipboard
inline fun ProcessForkOptions.setEnvironment(vararg environmentVariables: Pair<String, Any?>)

Kotlin extension function for org.gradle.process.ProcessForkOptions.setEnvironment.

Link copied to clipboard
abstract fun setErrorOutput(outputStream: OutputStream): BaseExecSpec
Link copied to clipboard
abstract fun setExecutable(executable: String)
Link copied to clipboard
abstract fun setIgnoreExitValue(ignoreExitValue: Boolean): BaseExecSpec
Link copied to clipboard
abstract fun setStandardInput(inputStream: InputStream): BaseExecSpec
Link copied to clipboard
abstract fun setStandardOutput(outputStream: OutputStream): BaseExecSpec
Link copied to clipboard
abstract fun setWorkingDir(dir: File)
Link copied to clipboard
abstract fun workingDir(dir: Any): ProcessForkOptions