Skip to content

yuk7/wsllib-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.