get system env var in groovy script

Hi:

  1. I added one system env var in my local Mac machine which i want to use it in my groovy script connector. In my machine terminal, type env, i can see it.( access-key = xxxxx)
  2. In my groovy script, i use System.getenv() to show all env vars. When i start studio and run this groovy script connector, i can see other vars but my new env var access-key is not there.

Any hint for this? Thanks!