$ 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!