[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Command-line argumens. Supersedes CommandLine.
Source position: process.pp line 141
published property TProcess.Parameters: TStrings |
Parameters contains the command-line arguments that should be passed to the program specified in Executable.
Commandline arguments should be specified one per item in Parameters: each item in Parameters will be passed as a separate command-line item. It is therefor not necessery to quote whitespace in the items. As a consequence, it is not allowed to specify multiple command-line parameters in 1 item in the stringlist. If a command needs 2 options -t and -s, the following is not correct:
With Parameters do begin add('-t -s'); end;
Instead, the code should read:
With Parameters do begin add('-t'); Add('-s'); end;
Note that Parameters is ignored if either of CommandLine or ApplicationName is specified. It can only be used with Executable.
|
Executable name. Supersedes CommandLine and ApplicationName. |
|
|
Command-line to execute (deprecated) |
|
|
Name of the application to start (deprecated) |