Andrew Haines schrieb:
The best way I know is described here: http://wiki.lazarus.freepascal.org/Executing_External_Programs#How_to_redirect_output_with_TProcess
Thanks for the link, I didn't know before that redirecting is such a big issue.
RunCommandAndDirectOutput('diff', '-r dir1 dir2', 'diff.txt');
Can I tell diff to only compare *.xml files? I want to track modifications in the FPC/Lazarus docs files... DoDi _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel