commandLine

open fun commandLine(arguments: Array<Any>): T
open fun commandLine(args: Iterable<out Any>): T

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