Open ghost opened 9 years ago
os/user package need cgo support, buf if enable cgo, we can not cross compile. So, i use "github.com/mitchellh/go-homedir", replace the os/user package in file spawn_process.go, function SetBaseDirectory(dir string) error {...} Thanks.
Please create a pull request
We need to replace os/user with go-homedir
os/user package need cgo support, buf if enable cgo, we can not cross compile. So, i use "github.com/mitchellh/go-homedir", replace the os/user package in file spawn_process.go, function SetBaseDirectory(dir string) error {...} Thanks.