[fpc-pascal] How to send stdout pipe to a process ?
TOUZEAU DAVID
david.touzeau at fr.kaspersky.com
Sat Nov 24 14:03:36 CET 2007
Dear
I would like to send a TStringList.text to an external process (kind of
stdout)
i have an external process that require to receive datas from stdin
like /home/process1 </tmp/data.txt
I would like my program to send datas inserted into a Tstringlist to
this "process1"
I think i should use "Output" but don't know how ?
Do you think this should be answer ?? Is there a better way ?
For i:=0 to List.Count-1 do begin
writeln(output;list.Strings[i]);
end;
--
David Touzeau -------------------------- Linux Ubuntu 7.04 feisty
FreePascal-Lazarus,perl,delphi,php artica for postfix management console
(http://www.artica.fr) icq:160018849
More information about the fpc-pascal
mailing list