Re: nohup feature request / Please fwd to Jim Meyering
From:
John Cowan
Subject:
Re: nohup feature request / Please fwd to Jim Meyering
Date:
Tue, 12 Jun 2007 14:50:39 -0400
User-agent:
Mutt/1.5.13 (2006-08-11)
Bob Proulx scripsit:
> > My request is: could the output be preceded by
> > 1) the name/PID of the process that produces the output.
> > 2) the time that the output was produced.
>
> I don't think that is possible without an active participation by a
> process.
Indeed, I don't see how it's possible at all. If nohup were to run
its program using a pipe to intercept standard output and error,
it wouldn't be able to tell child output from grandchild output.
Data in a pipe is not tagged with its originator in any way.
--
In politics, obedience and support John Cowan <address@hidden>
are the same thing. --Hannah Arendt http://www.ccil.org/~cowan