William Bader <williamba...@hotmail.com> writes:

> For the case of testing two compile runs, could you use something like the 
> bash
> command below (replacing 'sleep ...' with 'gcc ...')?

The issue here isn't the compilers hanging, it's tee living longer than
all the compilers do because it's stdin doesn't EOF (it'd be preferable
for it to only live as long as the last of the compilers).

I can imagine attempting to implement this with enough pipe and fd
redirection magic, but I'm not sure how (in)elegant that becomes.
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature

Reply via email to