Closed hseeberger closed 9 years ago
If you think about Unix argv[0] is always the command for a program's main params
No. It is the command which is made up from the program (the first string in the list) and optional arguments. The args are just the tail of the list.
Also see the JavaDoc for ProcessBuilder ...
args
is totally misleading, because it makes one think of the arguments only, leading to the question "OK, and where do I specify the program that should be executed?".
In RR we call it commandLine, not args or argsLine.
I was referring to Unix conventions in general, but you're right re ProcessBuilder.
Thanks
Deliberately named args. It is more than just the command. It is the args. :-)