stdout redirection
This was posted to the San Antonio LUG group. Any comments, suggestion to help this poor soul out.
David J
---------- Original Message ----------------------------------
From: [email protected]
Reply-To: [email protected]
Date: Wed, 26 Jun 2002 22:01:05 -0600
I've just written a program which is dumping various debugging information to stdout. When I started the program running I forgot to add the pipe to tee to also save the output in a file. So, armed with only the process id of the program in question, is there a way that I can redirect stdout to also go to a file without having to kill my program and restart it? Basically, I want to attach a pipe to a program which is already executing.
Normally I'd just kill the process and restart it with the pipe to tee, but I'm processing a huge chunk of data and I don't want to stop it in the middle of it's execution.
Mike
_______________________________________________
Satlug mailing list
[email protected]
http://alamo.satlug.org/mailman/listinfo/satlug