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

TPROCESS.Executable

Executable name. Supersedes CommandLine and ApplicationName.

Declaration

Source position: processbody.inc line 148

published property TPROCESS.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 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

CommandLine

  

Command-line to execute (deprecated)

ApplicationName

  

Name of the application to start (deprecated)

Parameters

  

Command-line arguments. Supersedes CommandLine.


Documentation generated on: Jun 22 2020