I would like to capture all output spewed to a terminal session
including processes that are terminated that were invoked from a script
running in a terminal window.
this is beyond capturing just stderr and stdout ....
for example
{
./script
} 2> stderr.cap 1>stdout.cap
if script is terminated (including because of memory violations)
I get spewed output to the terminal ...
I would like to capture that spewing to a file automatically or to a bit
bucket /dev/null
Is there another filehandle which can be redirected to do this?
If so how or is there another way???
Bookmarks