I recognize exactly how to do it on the command line:
Windows:. setx course "D: Shows;% COURSE%". Linux:. export course=$ COURSE:/ Home/Programming.
However exactly how do I do it from a Go program? The adjustments should be consistent.
Usually any kind of adjustments to the setting just influence the procedure itself and also it’s youngsters.
As quickly as the procedure departures, all adjustments to the setting are failed to remember.
I implied long-term, that the adjustments are maintained also after the program finishes.
I have actually done some examinations however however the course constantly winds up filthy with folders that need to not exist, I recognize why that takes place however I do not recognize exactly how to prevent it.
My objective is to make them work with Linux and also Windows, comparable to exactly how Go customizes the course variable when it is very first mounted, Go does it without harming any one of the initial course web content and also simply includes its brand-new course.
Completely depends upon exactly how you set up go, though possibly whatever you made use of, simply altered your coverings RC data.
Some typical practices amongst installers …
It’s gross to do so without asking …