This is the mail archive of the
mailing list for the GDB project.
clone process output
- From: shawn wilson <ag4ve dot us at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 3 Dec 2012 07:03:03 -0500
- Subject: clone process output
i'm trying to copy output of an already running process. i can
redirect it with a p close(1); p create( ... ); but even if i omit
close, it seems the output is redirected (instead of copied) anyway.
i'm guessing this is because there is only one stdout. so, can i proxy
the output somehow. i'm trying to do this at a sub-tty level so that
if i do: ssh host command (ie, no tty) i can still log the output.