I'm trying to set HPNAME to GRASS, when I step through the code it is correctly trying to set HPNAME to GRASS however nothing happens and the system variable is never changed. When I manually change HPNAME to GRASS in the command line it works fine.
The other two system variables above are correctly changing values.
Are there any issues with changing HPNAME? I have tried hard coding GRASS as well to test but no success.