title: Persist the value set for an env variable on the shell after the go program exits
body: <p>Is there a way i can set an Environment variable on my shell and have it persist after the go program exits ? I tried the following</p>
  
  <pre><code>bash-3.2$ export WHAT=am
  bash-3.2$ echo $WHAT
  am
  
  bash-3.2$ go build tt.go 
  bash-3.2$ ./tt
  am
  is your name
  bash-3.2$ echo $WHAT
  am
  bash-3.2$ 
  </code></pre>
  
  <p>The code was :</p>
  
  <pre><code>package main`
  import (
          "fmt"
         "os"`
  )
  
  func main() {
  fmt.Println(os.Getenv("WHAT"))
  os.Setenv("WHAT", "is your name")
  fmt.Println(os.Getenv("WHAT"))
  }
  </code></pre>
  
  <p>Thanks</p>