Frank Church schrieb:
After further consideration I think what I am thinking of is a TProcess like object that emulates a console, so it "types" the command and receives input as well as prompts. Is there an FPC library that does something like that?
You don't need a console. Simply create a bidirectional pipe, or two unidirectional ones, and connect it to the stdin/stdout of the process. Then parse what the process outputs, and when you find the prompt, send it your input.
DoDi -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
