Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( WINPTY_SPAWN_FLAG_AUTO_SHUTDOWN = 1 WINPTY_FLAG_ALLOW_CURPROC_DESKTOP_CREATION = 0x8 )
Variables ¶
This section is empty.
Functions ¶
func GetErrorMessage ¶
func UTF16PtrFromStringArray ¶
Types ¶
type Options ¶
type Options struct {
// AppName sets the title of the console
AppName string
// Command is the full command to launch
Command string
// Dir sets the current working directory for the command
Dir string
// Env sets the environment variables. Use the format VAR=VAL.
Env []string
// Flags to pass to agent config creation
Flags uint32
// Initial size for Columns and Rows
InitialCols uint32
InitialRows uint32
}
type WinPTY ¶
func OpenWithOptions ¶
func (*WinPTY) GetProcHandle ¶
Click to show internal directories.
Click to hide internal directories.