[fpc-pascal] Capture HeadTrace output to file?

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Nov 30 15:11:19 CET 2007


On 30/11/2007, Marc Santhoff <M.Santhoff at t-online.de> wrote:
> For sh and maybe bash getting stdout and stderr in the file
>
> ./something 2>&1 out.log
>
> should do. I didnt test, but getting stderr only may work like this:


I use bash and the above doesn't work...  Henry's example of
./something > log.txt 2>&1 works though.



Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list