api / org.gradle.process / ExecSpec / setCommandLine

setCommandLine

abstract fun setCommandLine(args: MutableList<String>): Unit

Sets the full command line, including the executable to be executed plus its arguments.

Parameters

args - the command plus the args to be executed

Since
4.0

abstract fun setCommandLine(vararg args: Any): Unit
abstract fun setCommandLine(args: MutableIterable<*>): Unit

Sets the full command line, including the executable to be executed plus its arguments.

Parameters

args - the command plus the args to be executed