TBuildEngine.ExecuteCommand procedure
Executes a command with arguments and environment variables
Declaration
procedure ExecuteCommand(const Cmd: string; const Args: TStrings;
Env: TStrings=Nil; IgnoreError: Boolean=False)
; virtualArguments
Cmd | Command executable to run |
Args | Command line arguments list |
Env | Environment variables for command execution |
IgnoreError | Whether to ignore command execution errors |
Description
Executes an external command with the specified arguments and environment variables.
The command execution can optionally ignore errors based on the IgnoreError parameter.
This is used by the build system to invoke external tools like compilers, linkers, archive utilities, and other build tools during the compilation and installation process.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
