Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support Windows #49

Open
Nuru opened this issue Apr 23, 2021 · 0 comments
Open

Please support Windows #49

Nuru opened this issue Apr 23, 2021 · 0 comments

Comments

@Nuru
Copy link

Nuru commented Apr 23, 2021

I would like to be able to run commands on Windows, which go generally supports, but Variant has some deep dependency that uses system calls (via the outdated syscall) not supported on Windows.

$ go version
go version go1.15.11 linux/amd64
$ variant export go cli build
go: creating new go.mod: module example.com/cli
go: github.com/rakyll/statik upgrade => v0.1.7
$ cd build
$ GOOS=windows GOARCH=amd64 go build
# github.com/k-kinzal/aliases/pkg/aliases/script
/conf/go/pkg/mod/github.com/k-kinzal/[email protected]/pkg/aliases/script/script.go:100:42: unknown field 'Setpgid' in struct literal of type syscall.SysProcAttr
/conf/go/pkg/mod/github.com/k-kinzal/[email protected]/pkg/aliases/script/script.go:150:9: undefined: syscall.Kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant