[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'process' (#fcl)


Executable name. Supersedes CommandLine and ApplicationName.


Source position: processbody.inc line 148

published property TPROCESS.Executable : TProcessString
  read FExecutable
  write FExecutable;


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 TProcess.Parameters.

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

See also



Command-line to execute (deprecated)



Name of the application to start (deprecated)



Command-line arguments. Supersedes CommandLine.

Documentation generated on: May 14 2021