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

TProcess.Executable

Executable name. Supersedes CommandLine and ApplicationName.

Declaration

Source position: process.pp line 144

published property TProcess.Executable : string
  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 argumens. Supersedes CommandLine.


Documentation generated on: Sep 28 2017