[fpc-pascal] Interactive process with TProcess

Vincent Snijders vsnijders at vodafonevast.nl
Tue Dec 16 10:49:37 CET 2008


leledumbo schreef:
> OK, since no one answers this in Lazarus forum, I'll ask here as it's more
> FPC (FCL, actually) related than LCL. I want to create an interactive
> process, so I need to read the output as soon as it's available and write it
> to the screen (or somewhere else). Here's the partial code (a little
> different from the original post to avoid visual component):

See processdemo example:
http://wiki.lazarus.freepascal.org/Executing_External_Programs#Using_input_and_output_of_a_TProcess

Vincent



More information about the fpc-pascal mailing list