Workflow Variables return with extra data on M1 Macs

Issue #663 new
Rodd K created an issue

We’re seeing an issue with the MDS workflow variables on an Apple Silicon Mac that worked fine on on Intel Macs. We’ve tested both PreBeta-MDS_Build-48065_Version-4.2 and the stable 4.0 (40106) release. We’re processing the variables with a postinstall perl script — E.G.. $perlvar1 = $ENV{"mds_var1"}; — but the variables come across like {%0a  response = VarWasHere;%0a} rather than VarWasHere. The macOS version we are using in the MDS workflow is “Install macOS Monterey 12.2-21D49.”

We confirmed that zsh also sets the variables with the same values.

Comments (2)

  1. Rodd K reporter

    I should mention that our variables are only alphanumeric. We are not using symbols, spaces, or special characters.

  2. Rodd K reporter

    Our current workaround is to scrub the variables with a regular expression in our perl script:

    $perlvar1 = $ENV{"mds_var1"};
    
    if ($perlvar1 =~ /response = (\w+);/)
    {
     $perlvar1=$1;
    }
    

  3. Log in to comment