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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to