how to execute with custom environment variables
fly-studio opened this issue · comments
Shuang Lin commented
like exec/cmd cmd := exec.CommandContext(...) cmd.Env = ....
env := map[string]string{"X": "Y"}
ctx := igop.NewContext(0)
ctx.Env = env
ctx.Run(....)
七叶 commented
ctx.Context run use build golang os and arch, if load form souce, maybe use current install golang.
no environment required