Executes a command with arguments and environment variables
Source position: fpmkunit.pp line 1422
public procedure TBuildEngine.ExecuteCommand( |
const Cmd: string; |
const Args: TStrings; |
Env: TStrings = Nil; |
IgnoreError: Boolean = False |
); virtual; |
Cmd |
|
Command executable to run |
Args |
|
Command line arguments list |
Env |
|
Environment variables for command execution |
IgnoreError |
|
Whether to ignore command execution errors |
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.