On Wed, Feb 9, 2011 at 12:59 PM, IgnacioZ <[email protected]> wrote:
> Hi!, I have been in a similar situation recently.
> I have been able to redirect the output using gdb as it is mentioned here:
> http://stackoverflow.com/questions/593724/redirect-stderr-stdout-of-a-process-after-its-been-started-using-command-line


Or download this one which does the GDB magic for you:
http://www.isi.edu/~yuri/dupx/

But I still like this one, because you don't really need the fds..
strace -ewrite -s 200 -p $PID 2>&1 | grep "write(1"

-- 
/emj

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to