1 2 Previous Next 25 Replies Latest reply on Feb 16, 2015 9:56 AM by Edwin Lindeman

    emtpy variable with nexec / custom command

    Edwin Lindeman

      Hey guys


      I'm testing some custom commands and some nexec commands with assign variables and then I attempt to echo the variable and the variable is emtpy.




      nexec -e sh -c "test='hello' ; echo $test"


      Nothing returns from the echo statement and the exact command in the OS returns 'hello'


      I get the same behavior when i create a command part inside a component template.


      Any suggestions?


      Best Regards

        1 2 Previous Next