Open bjesuiter opened 2 years ago
Hey @bjesuiter, please consider that the command string is executed into a different shell depending on the OS and vr configuration (see Shell scripting) and variable substitution is managed by that shell, not by vr.
In your case, unless you changed the VR_SHELL
env variable, the command should be executed in PowerShell, where it looks like the ${}
syntax is not used for variable substitution (my Windows/PowerShell knowledge is pretty limited so please double check). Does $CLI_NAME
work?
I use the following script definitions (simplified for shortness):
Problem
CLI_NAME is empty on windows in this setting
Wanted Behavior
CLI_NAME contains the right content as loaded from .env and is correctly interpolated for running the command