fix comment.

This commit is contained in:
Oswald Buddenhagen
2009-01-28 19:29:43 +01:00
parent 34a1410057
commit fa4352137e

View File

@@ -51,9 +51,9 @@ namespace ProjectExplorer {
It should be used as a base class if your buildstep just needs to run a process. It should be used as a base class if your buildstep just needs to run a process.
Usage: Usage:
Use setCommand(), setArguments(), setWorkingDirectory() to specify the process you want to run. Use setCommand(), setArguments(), setWorkingDirectory() to specify the process you want to run
(You need to do that before calling AbstractProcess::init()) (you need to do that before calling AbstractProcessStep::init()).
Inside YourBuildStep::init() call AbstractProcessStep::init() Inside YourBuildStep::init() call AbstractProcessStep::init().
Inside YourBuildStep::run() call AbstractProcessStep::run(), which automatically starts the proces Inside YourBuildStep::run() call AbstractProcessStep::run(), which automatically starts the proces
and by default adds the output on stdOut and stdErr to the OutputWindow. and by default adds the output on stdOut and stdErr to the OutputWindow.
If you need to process the process output override stdOut() and/or stdErr. If you need to process the process output override stdOut() and/or stdErr.