NAnt SDK Documentation - v0.92 |

# ExternalProgramBase.ExecuteTask Method

Starts the external process and captures its output.

[Visual Basic]
Overrides Protected Sub ExecuteTask()
[C#]
protected override void ExecuteTask();

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | The external process did not finish within the configured timeout. -or- The exit code of the external process indicates a failure.

#### See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace