[Linux-disciples] Redirecting stdout from a running process

Adam Rosi-Kessel adam at rosi-kessel.org
Thu Apr 27 17:52:41 EDT 2006


FIFO should work.

Stephen R Laniel wrote:
> Suppose I suddenly decide that I don't care to watch the
> output of a process anymore, and I want to send it to
> /dev/null. There must be a way to do this, right? At the
> very least, there must be some way to do this via
> indirection: when the process starts, send its output to
> some other file -- say, /dev/fake -- which points to the
> terminal normally. Then when the process is running, change
> where it points.
> 
> But
> 
> a) I have no idea how to do this, and
> b) I imagine there's some other way.
> 
> Any ideas?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060427/afec0c07/signature.pgp


More information about the Linux-disciples mailing list