|
TDosCommand 2.0
 |
Execute a DOS program or batch file et get outputs (text in the console) via an event OnNewLine(Sender: TObject; NewLine: string; OutputType: TOutputType). You do not need to wait the end of the execution to get outputs, you get it line by line. You can also send text to console input via the procedure SendLine(Value: string; Eol: Boolean). |
 |
Downloads (Updated Jul, 2001) :
Features :
- Close the prog after xxx sec of execution or inactivity,
- Catch the beginning of the line : if the prog ask for a response, you can see the beginning of the line,
- send automatically outputs to a TMemo, un TRichEdit, un TListBox, ...
- addition from Martijn van der Kooij of the property IsRunning to know if the thread is currently running.
|
|