public ProcessBuilder command (String… command)

Sets this process builder's operating system program and arguments. This is a convenience method that sets the command to a string list containing the same strings as the command array, in the same order. It is not checked whether command corresponds to a valid operating system command.

Parameters:
command    a string array containing the program and its arguments

Returns:  this process builder