[Lazarus] Help for process

Vincent Snijders vsnijders at vodafonevast.nl
Wed Oct 8 12:56:34 CEST 2008


wile64 schreef:
> Hi all,
> 
> Je voudrais lancer un programme en ligne de commande (avec Tprocess ps 
> de problème).
> 
> I would run an progam in command line (with Tprocess no problem).
> 
> 1 - But with the recovery of messages for viewing in a TMemo.
> 2 - Do not block my application when read the data (the example of a 
> wiki is awaiting data and read after)
> 3 - Send orders. (I think a TInput.write but it does not).
> 
> Is it possible ?
> 
>

Yes, look at the last example in the wiki:
http://wiki.lazarus.freepascal.org/Executing_External_Programs#Using_input_and_output_of_a_TProcess

Vincent



More information about the Lazarus mailing list