[fpc-devel] Running programs with output redirection
    Hans-Peter Diettrich 
    DrDiettrich1 at aol.com
       
    Sun Jul 17 11:50:20 CEST 2011
    
    
  
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
    
    
More information about the fpc-devel
mailing list