A WSL Library for Golang.
Get this package
go get github.com/yuk7/wsllib-go
package main
import "github.com/yuk7/wsllib-go"
func main() {
wsllib.WslLaunchInteractive("DistroName", "", true)
}
WslLaunchInteractive is not used in this library as it causes problems in goroutine.
Instead, a function is defined to connect stdin, stdout, stderr to WslLaunch.