Enumeration for the various stages in a process run cycle.
Source position: process.pp line 69
type TRunCommandEventCode = ( |
||
RunCommandIdle, |
|
No data was available for reading. |
RunCommandReadOutputString, |
|
Output from the command was read as a string. |
RunCommandReadOutputStream, |
|
Output from the command was read. |
RunCommandFinished, |
|
The command finished. |
RunCommandException |
|
An error happened during reading of the command. |
); |
TRunCommandEventCode is an enumerated type indicating the stage at which a process is during the RunCommandLoop call, reported through the TProcess.OnRunCommandEvent event handler.
|
Event handler, called when RunCommandLoop is executing. |
|
|
Execute command and collect output in strings. |