in reply to Re^3: STDOUT, STDERR sniffer
in thread STDOUT, STDERR sniffer

Hi all cool monks around,

I found the solution to my implementation:
Tee is a nice perl module, I suppose the name comes from the tee unix command.

I mixed 2 scripts (shell & perl), shell for capture and perl for analize & reporting:

Shell script:

build_project_command 2>&1 | tee ~/rep/DATE_TIME_PRODUCT analize_report_mail.pl ~/rep/DATE_TIME_PRODUCT
Modify the .profile (PATH priority) and give the same name the real compiler has.
Now the user will continue compiling as before, the output still untouched and toolchain support guy happy !

So, now we are able to know & evaluate the performance of the compilation environment at real time.

Thanks a lot for all your replies and help

Inguanzo
>emacs rules<