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

UPS ! The previous Anonymous Monk was me...

Replies are listed 'Best First'.
Re^4: STDOUT, STDERR sniffer
by mhi (Friar) on Jul 22, 2004 at 08:14 UTC
Re^4: STDOUT, STDERR sniffer
by inguanzo (Acolyte) on Jul 22, 2004 at 01:40 UTC
    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<