Workflow Variables return with extra data on M1 Macs
Issue #663
new
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)
-
reporter -
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; }
- Log in to comment
I should mention that our variables are only alphanumeric. We are not using symbols, spaces, or special characters.