I've been programming my own divx to dvd conversion tool: d2mp, (. This tool uses several other tools for the conversion process(quenc, avisynth, dgindex, besweet, ffmpeg, dvdauthor, mkisofs) When calling the command line tools, it will be helpfull to dump the stdout to a file and so constitue a detailed log for error handling. All my code is made in delphi, and tried several times to redirect the command line tools stdout to my own created pipes. When a command line tool ends I try to read the pipe that i've associated for the stdout, but my program hangs in readfile for the pipe. Any ideias? thank's d2mp