api / org.gradle.process / ExecSpec / commandLine

commandLine

abstract fun commandLine(vararg args: Any): ExecSpec
abstract fun commandLine(args: MutableIterable<*>): ExecSpec

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

Parameters

args - the command plus the args to be executed

Return
this