On Fri, May 4, 2018 at 12:51 PM, Carlos E. R. via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> I want to do a series of "writeln(...)" and have the output go > simultaneously to the console and to a text file of my choice. I have > the vague idea that this was done writing a text file handler :-? I once wrote a simple utility (myutil) that read from stdin, echoed to stdout and echoed to a logfile. I then used a pipe from the commandline to achieve what I wanted. E.g.: myprog | mytuil path/to/log Or something similar to that. Bart -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus