-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# wsllib-go | ||
# wsllib-go | ||
A WSL Library for Golang. | ||
|
||
## Usage | ||
Get this package | ||
``` | ||
go get github.com/yuk7/wsllib-go | ||
``` | ||
|
||
## Example | ||
```go | ||
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. |