> assign(stderr,'somefile'); > rewrite(stderr); Thanks, nicely done. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Redirecting-heap-trace-output-to-stdout-tp4708982p4710217.html Sent from the Free Pascal - General mailing list archive at Nabble.com.