An open API service indexing awesome lists of open source software.

https://github.com/iamacarpet/go-winpty

Bindings for WinPTY in Go
https://github.com/iamacarpet/go-winpty

go golang golang-wrapper winpty

Last synced: 3 months ago
JSON representation

Bindings for WinPTY in Go

Awesome Lists containing this project

README

        

# Go-WinPTY
## GoLang Wrapper for WinPTY.dll

Small wrapper around the [WinPTY](https://github.com/rprichard/winpty) DLL.

This, for example, should allow a Go app to serve up a Windows "cmd" or "powershell" prompt via WebSocket to [xterm.js](https://github.com/sourcelair/xterm.js)

Currently requires `winpty.dll` and `winpty-agent.exe` to be in the same directory as the compiled Go executable.

These are best obtained from the GitHub releases page, in the msvc2015 package.

The error handling needs a bit of work currently though!