David Korn writes:
> cc:  james.d.carlson at sun.com
> Subject:   Re: Re: [shell-discuss] Problem capturing stdout from fork'd 
> process
> --------
> 
> > Why wait for both?  It's not as though the command can generate more
> > output after closing stdout, is it?
> > 
> > 
> 
> Since command substitution runs in the same process group as the shell,
> it will interfere with job control.
> 
> It neither be a foreground process or a background process.

Good point, though I'd expect anything that does this sort of work
would do a proper setsid in the child and get itself out from under
the shell's thumb as quickly as possible -- something like
`ssh-agent' -- and thus not really be a concern.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to