How to log stderr from run bash command

Comments

1 comment

  • Avatar
    michiel

    Hi, 

    You can log it with the program_stdout build-in variable. For example:

    <runProgram program="./your-script.sh"/>
    <logMessage text="Program output: ${program_stdout}"/>

    You can also use program_exit_code and program_stderr

    Regards,

    Michiel

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.