Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 424 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 424 Bytes

wsllib-go

A WSL Library for Golang.

Usage

Get this package

go get github.com/yuk7/wsllib-go

Example

package main

import "github.com/yuk7/wsllib-go"

func main() {
    wsllib.WslLaunchInteractive("DistroName", "", true)
}

Notes

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.