On Fri, Dec 03, 2010 at 02:13:15PM -0800, Bill Kendrick wrote:
<snip>
> I wonder, is there any other Linux'y trick I can use in the meantime?
> (Maybe fiddling in /proc ? ;) )
Bill Broadley figured it out for me. Yay, thanks Bill!
>From another terminal:
$ ps aux | grep tee
username 12345 0.1 0.0 5416 740 pts/0 S+ 13:56 0:02 tee
output.txt
$ gdb -p 12345
(gdb) p dup2(open("/dev/null", 0), 1)
(gdb) p dup2(open("/dev/null", 0), 2)
(gdb) detach
(gdb) quit
$
The terminal with the 'tee' is now silent, but the
output file continues to grow.
-bill!
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech