Build.File - exec
Description
Exec is used to run another application from within BlitzBuild. For example, it can be used to run a program that does not have a plugin to handle it.
Parameters
Table 11. Parameters
Attribute | Type | Description | Required |
---|---|---|---|
program | string | The program to run. | true |
commandLine | string | An optional command line to send to the application. | false |
workingDir | string | Optional directory in which the command will be executed. | false |
if | bool | If true, the task will be executed, otherwise it will be skipped. The default is true. | False |
unless | bool | The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. | False |