This project is read-only.
Exec Task
The Exec Task allows you to run a custom executable and use the resulting Exit Code to determine whether or not the task succeeded.

General Format
<Task name="ExecTask" description="" path="" arguments="" exitCode="" failAsWarning="" />

Attributes
  • name: specifies the task name - "ExecTask".
  • description: (optional) specifies the text to be displayed in the Task column within the user interface (UI). If you ommit this attribute the task name will be used.
  • path: specifies the name of the executable to run. The Exit Code of the executable will be used to determine whether or not this task succeeded.
  • arguments: (optional) specifies any optional command line arguments to be passed into the executable when it is ran.
  • exitCode: (optional) specifies the expected Exit Code. This value will be compared against the Exit Code of the executable once the process has completed. If the two values match, the task succeeds; otherwise, it fails. If you do not specify an Exit Code, a value of zero (0) will be used.
  • failAsWarning: (optional) if specified, and has a value of "true", "yes", or "1", then any errors caught by this task will be treated as warnings. NOTE: This attribute can be applied to any task.
  • disabled: (optional - not shown) if specified, and has a value of "true", "yes", or "1", then this task will not be loaded and will be ignored. NOTE: This attribute can be applied to any task.

Last edited Nov 27, 2007 at 4:29 AM by jbramwell, version 3

Comments

No comments yet.