Sign in Join
FPDoc Onlineexperiment

TProcess.Executable property

Member of TProcesspublishedIn unit Process

Executable name. Supersedes CommandLine and ApplicationName.

Declaration

pascal
property Executable: TProcessString read FExecutable write FExecutable;

Description

Executable is the name of the executable to start. It should not contain any command-line arguments. If no path is given, it will be searched in the PATH environment variable.

The extension must be given, none will be added by the component itself. It may be that the OS adds the extension, but this behaviour is not guaranteed.

Arguments should be passed in Parameters.

Executable supersedes the CommandLine and ApplicationName properties, which have been deprecated. However, if either of CommandLine or ApplicationName is specified, they will be used instead of Executable.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.