how to pass variables from bash script .sh to Initialization Actions?



  • Avatar

    You can use the program_stdout installer variable to store the output of <runProgram>


           <setInstallerVariable name="your_var" value="${progam_stdout}"/>


  • Avatar
    Velarde, April Annegelli D

    How about if there are two or more output from the .sh file?

  • Avatar
    BitRock support

    Could you give more details regarding your requirements? The standard output - what is shown in the terminal when executing the command - is stored in the `progam_stdout` variable.

Please sign in to leave a comment.