Skip to content

Latest commit

 

History

History
executable file
·
12 lines (7 loc) · 549 Bytes

README.md

File metadata and controls

executable file
·
12 lines (7 loc) · 549 Bytes

Go-WinPTY

GoLang Wrapper for WinPTY.dll

Small wrapper around the WinPTY DLL.

This, for example, should allow a Go app to serve up a Windows "cmd" or "powershell" prompt via WebSocket to 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!